summaryrefslogtreecommitdiffstats
path: root/avahi-core/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/socket.c')
-rw-r--r--avahi-core/socket.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/avahi-core/socket.c b/avahi-core/socket.c
index 0487023..a73bee8 100644
--- a/avahi-core/socket.c
+++ b/avahi-core/socket.c
@@ -27,9 +27,6 @@
#include <errno.h>
#include <string.h>
#include <stdio.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/time.h>
@@ -37,6 +34,12 @@
#include <sys/ioctl.h>
#include <assert.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#include <sys/uio.h>
+
#ifdef IP_RECVIF
#include <net/if_dl.h>
#endif