summaryrefslogtreecommitdiffstats
path: root/x11/gdm/files/patch-common_gdm-address.c
blob: 47ab2b2975c6c2889d6b782559b7a3500fc83058 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- common/gdm-address.c.orig   2008-01-31 03:07:58.000000000 -0500
+++ common/gdm-address.c    2008-01-31 03:11:17.000000000 -0500
@@ -26,12 +26,13 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <string.h>
+#include <sys/types.h>
+#include <sys/param.h>
 #ifdef HAS_SYS_SOCKET
 #include <sys/socket.h>
 #endif
 #include <netdb.h>
 #include <sys/ioctl.h>
-#include <net/if.h>
 
 #ifndef G_OS_WIN32
 #include <sys/socket.h>
@@ -42,6 +43,7 @@
 #include <winsock2.h>
 #include <ws2tcpip.h>
 #endif
+#include <net/if.h>
 
 #include <glib-object.h>