summaryrefslogtreecommitdiff
path: root/sock.c
diff options
context:
space:
mode:
authorWichert Akkerman <wichert@deephackmode.org>1999-05-09 00:29:58 +0000
committerWichert Akkerman <wichert@deephackmode.org>1999-05-09 00:29:58 +0000
commit2e2553a534f532a1546ea2b2f3dc3cd2276d020d (patch)
tree6cffd996287d564f4365dd0b13e1fd9abe33c186 /sock.c
parent022c52fda19fa3e92a7000b239214fdd57248a4b (diff)
downloadstrace-2e2553a534f532a1546ea2b2f3dc3cd2276d020d.tar.gz
strace-2e2553a534f532a1546ea2b2f3dc3cd2276d020d.tar.bz2
strace-2e2553a534f532a1546ea2b2f3dc3cd2276d020d.tar.xz
Merged in a bunch of patches that I got as reaction to the 3.99 release.
See the ChangeLog for details
Diffstat (limited to 'sock.c')
-rw-r--r--sock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sock.c b/sock.c
index dc03190..327a3de 100644
--- a/sock.c
+++ b/sock.c
@@ -36,8 +36,12 @@
#endif
#ifdef ALPHA
+#ifdef HAVE_SYS_IOCTL_H
+#include <sys/ioctl.h>
+#elif defined(HAVE_IOCTLS_H)
#include <ioctls.h>
#endif
+#endif
int
sock_ioctl(tcp, code, arg)