From: Nick Mathewson Date: Fri, 14 May 2010 18:30:09 +0000 (-0400) Subject: Add some missing includes to fix Linux build again X-Git-Tag: release-2.0.6-rc~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=75701e897b7a077beb57d49cc1b13df84ec23fb9;p=libevent Add some missing includes to fix Linux build again --- diff --git a/configure.in b/configure.in index 64d08587..40b95d8c 100644 --- a/configure.in +++ b/configure.in @@ -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 diff --git a/test/regress_util.c b/test/regress_util.c index 1fd0797e..65f6e544 100644 --- a/test/regress_util.c +++ b/test/regress_util.c @@ -42,6 +42,9 @@ #ifdef _EVENT_HAVE_NETINET_IN6_H #include #endif +#ifdef _EVENT_HAVE_SYS_WAIT_H +#include +#endif #include #include #include diff --git a/test/test-ratelim.c b/test/test-ratelim.c index ee2bbfc1..4039e6ad 100644 --- a/test/test-ratelim.c +++ b/test/test-ratelim.c @@ -37,6 +37,7 @@ #include #include #endif +#include #include #include