Commit fb8414ad authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Include <sys/eventfd.h> as needed

parent 871a8bb5
...@@ -795,7 +795,7 @@ AC_EGREP_HEADER(strncasecmp,strings.h,[ ...@@ -795,7 +795,7 @@ AC_EGREP_HEADER(strncasecmp,strings.h,[
dnl Check for headers dnl Check for headers
AC_CHECK_HEADERS(signal.h time.h errno.h stdint.h stdbool.h getopt.h strings.h inttypes.h sys/int_types.h wchar.h locale.h) AC_CHECK_HEADERS(signal.h time.h errno.h stdint.h stdbool.h getopt.h strings.h inttypes.h sys/int_types.h wchar.h locale.h)
AC_CHECK_HEADERS(sys/sockio.h fcntl.h sys/types.h sys/time.h sys/times.h sys/ioctl.h sys/stat.h xlocale.h) AC_CHECK_HEADERS(sys/sockio.h fcntl.h sys/types.h sys/time.h sys/times.h sys/ioctl.h sys/stat.h xlocale.h)
AC_CHECK_HEADERS([arpa/inet.h netinet/in.h netinet/udplite.h]) AC_CHECK_HEADERS([arpa/inet.h netinet/in.h netinet/udplite.h sys/eventfd.h])
AC_CHECK_HEADERS([net/if.h], [], [], AC_CHECK_HEADERS([net/if.h], [], [],
[ [
#include <sys/socket.h> #include <sys/socket.h>
......
...@@ -62,6 +62,9 @@ ...@@ -62,6 +62,9 @@
# include <fcntl.h> # include <fcntl.h>
# include <errno.h> /* ENOSYS */ # include <errno.h> /* ENOSYS */
#endif #endif
#ifdef HAVE_SYS_EVENTFD_H
# include <sys/eventfd.h>
#endif
#include <assert.h> #include <assert.h>
/***************************************************************************** /*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment