[Intel-gfx] [PATCH xf86-video-intel] intel: include sys/param.h for sys/mount.h

Jonathan Gray jsg at jsg.id.au
Sun Aug 31 10:46:56 CEST 2014


On OpenBSD sys/mount.h includes sys/ucred.h which in
turn requires the NGROUPS definitions from sys/param.h.

Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
---
 src/intel_device.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel_device.c b/src/intel_device.c
index 9a2ebb0..1e2d931 100644
--- a/src/intel_device.c
+++ b/src/intel_device.c
@@ -30,6 +30,7 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/param.h>
 #include <sys/mount.h>
 #include <assert.h>
 #include <string.h>
-- 
1.9.3




More information about the Intel-gfx mailing list