Skip to content

Commit

Permalink
[PATCH] Fix up <sys/socket.h> include dependency
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andreas Gal authored and Linus Torvalds committed Apr 27, 2005
1 parent 4765dd5 commit ec8f811
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rsh.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "rsh.h"

#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>

#include "cache.h"
Expand Down

0 comments on commit ec8f811

Please sign in to comment.