Conditional sys/sysmacros.h inclusion
Commit 380fe7d4548a99bfcfc1594b6f0b3dd2369978f1 broke the functionality on OpenBSD as it has no sys/sysmacros.h. So replicate commit 08572e7db2120bc45db732d02409dfd3346b8e51 but use explicit OS checks instead of AC_HEADER_MAJOR.
Signed-off-by Ingo Feinerer <[email protected]>
lib/libv4lconvert/control/libv4lcontrol.c +2 -0
@@ -20,7 +20,9 @@*/ #include <sys/types.h> +#ifndef __OpenBSD__#include <sys/sysmacros.h> +#endif #include <sys/mman.h> #include <fcntl.h> #include <sys/stat.h>