summaryrefslogtreecommitdiffstats
path: root/x11/gdm/files/patch-common_gdm-address.c
blob: 994bdf404a3bbfcec552b5ee7521578cd0910bc2 (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
28
29
--- common/gdm-address.c.orig   2008-02-03 11:52:26.000000000 -0500
+++ common/gdm-address.c    2008-02-13 01:23:07.000000000 -0500
@@ -25,8 +25,9 @@
 #include <stdio.h>
 #include <fcntl.h>
 #include <unistd.h>
-#include <stropts.h>
 #include <string.h>
+#include <sys/types.h>
+#include <sys/param.h>
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif
@@ -35,7 +36,6 @@
 #endif
 #include <netdb.h>
 #include <sys/ioctl.h>
-#include <net/if.h>
 
 #ifndef G_OS_WIN32
 #include <sys/socket.h>
@@ -46,6 +46,7 @@
 #include <winsock2.h>
 #include <ws2tcpip.h>
 #endif
+#include <net/if.h>
 
 #include <glib-object.h>