diff --git a/configure.ac b/configure.ac index 56de1501..771a0cab 100644 --- a/configure.ac +++ b/configure.ac @@ -940,9 +940,7 @@ AS_IF([test "x$EMSCRIPTEN" = "x"],[ AC_MSG_CHECKING(for getrandom with a standard API) AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include -#ifdef HAVE_UNISTD_H -# include -#endif +#include #ifdef HAVE_SYS_RANDOM_H # include #endif @@ -960,9 +958,7 @@ if (&getrandom != NULL) { AC_MSG_CHECKING(for getentropy with a standard API) AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include -#ifdef HAVE_UNISTD_H -# include -#endif +#include #ifdef HAVE_SYS_RANDOM_H # include #endif