build: check for sys/sysmacros.h in configure
authorBartosz Golaszewski <bartekgola@gmail.com>
Wed, 7 Nov 2018 20:29:02 +0000 (21:29 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Wed, 7 Nov 2018 20:29:02 +0000 (21:29 +0100)
We now need this header to build the core library.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
configure.ac

index 782b395e6d205970f0f959e566f4247b0c975e38..761cdc623520436329678e796a9b75109b50cd20 100644 (file)
@@ -81,6 +81,7 @@ AC_CHECK_FUNC([ppoll], [], [FUNC_NOT_FOUND_LIB([ppoll])])
 AC_CHECK_HEADERS([getopt.h], [], [HEADER_NOT_FOUND_LIB([getopt.h])])
 AC_CHECK_HEADERS([dirent.h], [], [HEADER_NOT_FOUND_LIB([dirent.h])])
 AC_CHECK_HEADERS([sys/poll.h], [], [HEADER_NOT_FOUND_LIB([sys/poll.h])])
+AC_CHECK_HEADERS([sys/sysmacros.h], [], [HEADER_NOT_FOUND_LIB([sys/sysmacros.h])])
 AC_CHECK_HEADERS([linux/gpio.h], [], [HEADER_NOT_FOUND_LIB([linux/gpio.h])])
 
 AC_ARG_ENABLE([tools],