Message ID | 1409474816-31952-1-git-send-email-jsg@jsg.id.au (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sun, Aug 31, 2014 at 06:46:56PM +1000, Jonathan Gray wrote: > On OpenBSD sys/mount.h includes sys/ucred.h which in > turn requires the NGROUPS definitions from sys/param.h. We don't want mount.h on BSD systems, so let's just rearrange the code to avoid the include there. -Chris
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>
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@jsg.id.au> --- src/intel_device.c | 1 + 1 file changed, 1 insertion(+)