Skip to content

Commit ec8f811

Browse files
Andreas GalLinus Torvalds
authored andcommitted
[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>
1 parent 4765dd5 commit ec8f811

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rsh.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "rsh.h"
22

33
#include <string.h>
4+
#include <sys/types.h>
45
#include <sys/socket.h>
56

67
#include "cache.h"

0 commit comments

Comments
 (0)