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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux