]> granicus.if.org Git - strace/commitdiff
2004-10-19 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Tue, 19 Oct 2004 23:33:50 +0000 (23:33 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 19 Oct 2004 23:33:50 +0000 (23:33 +0000)
* sock.c [! LINUX]: Include <sys/socket.h> before <sys/sockio.h>.
Reported by Marty Leisner <mleisner@eng.mc.xerox.com>.

sock.c

diff --git a/sock.c b/sock.c
index 5c1e7efd4263577f6dc96e98deb01777f0ce383d..be7a5b8075b74218b91073b30d1a2a3687c39a7d 100644 (file)
--- a/sock.c
+++ b/sock.c
@@ -33,6 +33,7 @@
 #include <sys/socket.h>
 #include <linux/sockios.h>
 #else
+#include <sys/socket.h>
 #include <sys/sockio.h>
 #endif
 #include <arpa/inet.h>