]> granicus.if.org Git - strace/blobdiff - net.c
Include <sys/uio.h> unconditionally
[strace] / net.c
diff --git a/net.c b/net.c
index f3f102e402e1f7c1e9cda474425abe8975595e5c..3bf0a9b4ebc359e13329f7fe7ef780aa246a77c9 100644 (file)
--- a/net.c
+++ b/net.c
@@ -31,6 +31,7 @@
 #include "defs.h"
 #include <sys/stat.h>
 #include <sys/socket.h>
+#include <sys/uio.h>
 #include <sys/un.h>
 #if defined(HAVE_SIN6_SCOPE_ID_LINUX)
 # define in6_addr in6_addr_libc
@@ -78,9 +79,6 @@
 # endif
 #endif
 
-#if defined(HAVE_SYS_UIO_H)
-# include <sys/uio.h>
-#endif
 #if defined(HAVE_LINUX_NETLINK_H)
 # include <linux/netlink.h>
 #endif