Browse Source

[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>
maint
Andreas Gal 20 years ago committed by Linus Torvalds
parent
commit
ec8f81160d
  1. 1
      rsh.c

1
rsh.c

@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
#include "rsh.h"

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

#include "cache.h"

Loading…
Cancel
Save