From 75701e897b7a077beb57d49cc1b13df84ec23fb9 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 14 May 2010 14:30:09 -0400 Subject: [PATCH] Add some missing includes to fix Linux build again --- configure.in | 2 +- test/regress_util.c | 3 +++ test/test-ratelim.c | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.50.1