]> granicus.if.org Git - libevent/commitdiff
Add some missing includes to fix Linux build again
authorNick Mathewson <nickm@torproject.org>
Fri, 14 May 2010 18:30:09 +0000 (14:30 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 14 May 2010 18:30:09 +0000 (14:30 -0400)
configure.in
test/regress_util.c
test/test-ratelim.c

index 64d08587faf12ad3cf1a6566ec7cc0a28ddcde9c..40b95d8c945c7d1dcbc2da74d28b0e9a94cf5dca 100644 (file)
@@ -89,7 +89,7 @@ fi
 
 dnl Checks for header files.
 AC_HEADER_STDC
-AC_CHECK_HEADERS(fcntl.h stdarg.h inttypes.h stdint.h stddef.h poll.h unistd.h sys/epoll.h sys/time.h sys/queue.h sys/event.h sys/param.h sys/ioctl.h sys/select.h sys/devpoll.h port.h netinet/in.h netinet/in6.h sys/socket.h sys/uio.h arpa/inet.h sys/eventfd.h sys/mman.h sys/sendfile.h netdb.h)
+AC_CHECK_HEADERS(fcntl.h stdarg.h inttypes.h stdint.h stddef.h poll.h unistd.h sys/epoll.h sys/time.h sys/queue.h sys/event.h sys/param.h sys/ioctl.h sys/select.h sys/devpoll.h port.h netinet/in.h netinet/in6.h sys/socket.h sys/uio.h arpa/inet.h sys/eventfd.h sys/mman.h sys/sendfile.h sys/wait.h netdb.h)
 AC_CHECK_HEADERS(sys/sysctl.h, [], [], [
 #ifdef HAVE_SYS_PARAM_H
 #include <sys/param.h>
index 1fd0797e0288e1169aa2feb30f657bdc69244993..65f6e544a8d214723bf14e0540ad91d9dcc45d14 100644 (file)
@@ -42,6 +42,9 @@
 #ifdef _EVENT_HAVE_NETINET_IN6_H
 #include <netinet/in6.h>
 #endif
+#ifdef _EVENT_HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
index ee2bbfc1b25ed9392065b2efd0ea0bd6e7e13f8f..4039e6ad4c71c116390c73a057498e994501ec6a 100644 (file)
@@ -37,6 +37,7 @@
 #include <sys/socket.h>
 #include <netinet/in.h>
 #endif
+#include <signal.h>
 
 #include <event2/bufferevent.h>
 #include <event2/buffer.h>