]> git.meshlink.io Git - catta/commitdiff
* small fix in the #includes
authorSebastien Estienne <sebastien.estienne@gmail.com>
Mon, 31 Oct 2005 13:00:37 +0000 (13:00 +0000)
committerSebastien Estienne <sebastien.estienne@gmail.com>
Mon, 31 Oct 2005 13:00:37 +0000 (13:00 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@909 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-core/socket.c
avahi-utils/avahi-browse.c

index a73bee86d65050490b596a548cfa4bde7c5e499a..c03cc34d6c5aadb04ecd098a6c4644a052fe9bcd 100644 (file)
@@ -30,7 +30,6 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <sys/time.h>
-#include <net/if.h>
 #include <sys/ioctl.h>
 #include <assert.h>
 
@@ -38,6 +37,7 @@
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
+#include <net/if.h>
 #include <sys/uio.h>
 
 #ifdef IP_RECVIF
index 0bf58efae233ff5bc91b754096dc7e9503e8bbb8..dcf3e473e90ecd9d8c76ba7819ad58f917afc5c2 100644 (file)
@@ -28,6 +28,8 @@
 #include <getopt.h>
 #include <assert.h>
 #include <string.h>
+#include <sys/types.h>
+#include <sys/socket.h>
 #include <net/if.h>
 #include <locale.h>