Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] Fix up <sys/socket.h> include dependency
author
Andreas Gal
<gal@uci.edu>
Wed, 27 Apr 2005 20:46:36 +0000
(13:46 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Wed, 27 Apr 2005 20:46:36 +0000
(13:46 -0700)
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>
rsh.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
4765dd5
)
diff --git
a/rsh.c
b/rsh.c
index 4d6a90bf6c1b290975fb2ac22f25979be56cb476..af2f47b174e3895e6c02c4cd8f16a89e3bacbbbb 100644
(file)
--- 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"