summaryrefslogtreecommitdiffstats
path: root/x11/gdm3/files/patch-common_gdm-address.c
blob: 9a4e620ba8d3a962cbdafec6f7a84d24ed1d8262 (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
26
27
--- common/gdm-address.c.orig   2010-01-13 17:32:59.000000000 +0000
+++ common/gdm-address.c    2010-01-17 12:55:48.000000000 +0000
@@ -29,6 +29,8 @@
 #include <stropts.h>
 #endif
 #include <string.h>
+#include <sys/types.h>
+#include <sys/param.h>
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif
@@ -37,7 +39,6 @@
 #endif
 #include <netdb.h>
 #include <sys/ioctl.h>
-#include <net/if.h>
 
 #ifndef G_OS_WIN32
 #include <sys/select.h>
@@ -47,6 +48,7 @@
 #include <winsock2.h>
 #include <ws2tcpip.h>
 #endif
+#include <net/if.h>
 
 #include <glib-object.h>