blob: d9d6bf1b4e438513f601547e52c4c6d530d476b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ac,v 1.2 2009/07/24 12:10:18 obache Exp $
--- xserver/os/access.c.orig 2008-03-13 14:34:48.000000000 +0000
+++ xserver/os/access.c
@@ -142,6 +142,11 @@ SOFTWARE.
#endif
#ifdef HAS_GETIFADDRS
+#include <sys/types.h>
+# ifdef __NetBSD__
+# include <sys/socket.h>
+typedef unsigned int u_int;
+# endif
#include <ifaddrs.h>
#endif
|