--- ulogd-2.0.4.orig/configure.ac	2014-03-23 16:30:50.000000000 +0100
+++ ulogd-2.0.4/configure.ac	2014-04-16 06:48:35.000000000 +0200
@@ -24,7 +24,7 @@ AC_SUBST([libdl_LIBS])
 dnl Checks for header files.
 AC_HEADER_DIRENT
 AC_HEADER_STDC
-AC_CHECK_HEADERS(fcntl.h unistd.h)
+AC_CHECK_HEADERS(fcntl.h unistd.h sys/queue.h)
 
 dnl Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
