summaryrefslogtreecommitdiff
path: root/wm/metisse/patches/patch-ab
blob: b08ed6883f844177b6c6fbfaaddb42dba6dccc74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ab,v 1.3 2009/07/24 12:10:18 obache Exp $

--- xserver/os/osdep.h.orig	2008-03-13 14:34:48.000000000 +0000
+++ xserver/os/osdep.h
@@ -117,6 +117,12 @@ SOFTWARE.
 
 #include <stddef.h>
 #include <sys/types.h>
+#include <sys/param.h>
+
+#if (defined(BSD) && BSD >= 199506) && !defined(__DragonFly__)
+#include <sys/select.h>
+typedef __fd_mask	fd_mask;
+#endif
 
 typedef Bool (*ValidatorFunc)(ARRAY8Ptr Auth, ARRAY8Ptr Data, int packet_type);
 typedef Bool (*GeneratorFunc)(ARRAY8Ptr Auth, ARRAY8Ptr Data, int packet_type);