summaryrefslogtreecommitdiff
path: root/sock.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2004-10-19 23:33:50 +0000
committerRoland McGrath <roland@redhat.com>2004-10-19 23:33:50 +0000
commit8988d1e16c99ee49d38be57215236795c92a34b5 (patch)
tree9a82fbb901388da00ec2ff471f8600c18e35b6b6 /sock.c
parent5e02a5793d981265072d606fcb2293d80e73824f (diff)
downloadstrace-8988d1e16c99ee49d38be57215236795c92a34b5.tar.gz
strace-8988d1e16c99ee49d38be57215236795c92a34b5.tar.bz2
strace-8988d1e16c99ee49d38be57215236795c92a34b5.tar.xz
2004-10-19 Roland McGrath <roland@redhat.com>
* sock.c [! LINUX]: Include <sys/socket.h> before <sys/sockio.h>. Reported by Marty Leisner <mleisner@eng.mc.xerox.com>.
Diffstat (limited to 'sock.c')
-rw-r--r--sock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sock.c b/sock.c
index 5c1e7ef..be7a5b8 100644
--- 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>