aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorIngo Feinerer <feinerer@logic.at>2017-03-13 12:58:38 +0100
committerHans Verkuil <hans.verkuil@cisco.com>2017-04-03 18:37:40 +0200
commit08572e7db2120bc45db732d02409dfd3346b8e51 (patch)
tree92d898d9f7a87e7d6d984398587752599172e2a1 /configure.ac
parentbd98c9a99bffc8d44c54859345e4dfee0ada4275 (diff)
Conditional sys/sysmacros.h inclusion
Make the inclusion of the sys/sysmacros.h header file conditional. I noticed it on OpenBSD which has no sys/sysmacros.h, so compilation fails there. Signed-off-by: Ingo Feinerer <feinerer@logic.at> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f3269728..ae58da37 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,6 +146,7 @@ if test "x$gl_cv_func_ioctl_posix_signature" = xyes; then
fi
AC_CHECK_FUNCS([__secure_getenv secure_getenv])
+AC_HEADER_MAJOR
# Check host os
case "$host_os" in

Privacy Policy