diff options
author | Andreas Gal <gal@uci.edu> | 2005-04-27 13:46:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-27 13:46:36 -0700 |
commit | ec8f81160d605505f9117461916e7f69f151f2d2 (patch) | |
tree | 7c6f4de6d86f3a27581ae964674d9228ff84ee56 /rsh.c | |
parent | 4765dd57e6115d6e04e26a652676f02abe9c143d (diff) | |
download | git-ec8f81160d605505f9117461916e7f69f151f2d2.tar.gz git-ec8f81160d605505f9117461916e7f69f151f2d2.tar.xz |
[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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,6 +1,7 @@ #include "rsh.h" #include <string.h> +#include <sys/types.h> #include <sys/socket.h> #include "cache.h" |