diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 19c4299ebf..19fcdd4ddc 100644 --- a/configure.ac +++ b/configure.ac @@ -64,13 +64,17 @@ AC_C_INLINE AC_TYPE_MODE_T AC_TYPE_PID_T AC_CHECK_MEMBERS([struct stat.st_rdev]) -AC_CHECK_DECLS([getrandom, gettid, name_to_handle_at, accept4, mkostemp, strndupa], [], [], [[#include <sys/types.h> -#include <unistd.h> +AC_CHECK_DECLS([getrandom, gettid, name_to_handle_at, accept4, mkostemp, ppoll, strndupa], [], [], +[[#include <fcntl.h> +#include <linux/random.h> +#include <poll.h> +#include <signal.h> +#include <stdlib.h> #include <string.h> #include <sys/mount.h> -#include <fcntl.h> #include <sys/socket.h> -#include <linux/random.h>]]) +#include <sys/types.h> +#include <unistd.h>]]) AC_CHECK_SIZEOF(pid_t) AC_CHECK_SIZEOF(uid_t) |