summaryrefslogtreecommitdiff
path: root/rsh.c
diff options
context:
space:
mode:
authorAndreas Gal <gal@uci.edu>2005-04-27 13:46:36 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-27 13:46:36 -0700
commitec8f81160d605505f9117461916e7f69f151f2d2 (patch)
tree7c6f4de6d86f3a27581ae964674d9228ff84ee56 /rsh.c
parent4765dd57e6115d6e04e26a652676f02abe9c143d (diff)
downloadgit-ec8f81160d605505f9117461916e7f69f151f2d2.tar.gz
[PATCH] Fix up <sys/socket.h> include dependency
This makes rsh.c compile on Darwin/MacOSX (and might possibly help on some Linux distributions too). sys/socket.h needs sys/types.h Signed-off-by: Andreas Gal <gal@uci.edu> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'rsh.c')
-rw-r--r--rsh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rsh.c b/rsh.c
index 4d6a90bf6c..af2f47b174 100644
--- a/rsh.c
+++ b/rsh.c
@@ -1,6 +1,7 @@
#include "rsh.h"
#include <string.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include "cache.h"