diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index dfa71e44d2..ccb1012d57 100644 --- a/configure.ac +++ b/configure.ac @@ -66,8 +66,9 @@ 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], [], [], [[#include <sys/types.h> +AC_CHECK_DECLS([getrandom, gettid, name_to_handle_at, accept4, mkostemp, strndupa], [], [], [[#include <sys/types.h> #include <unistd.h> +#include <string.h> #include <sys/mount.h> #include <fcntl.h> #include <sys/socket.h> @@ -223,6 +224,9 @@ else fi AC_SUBST(sushell) +# selinux-util.c uses struct mallinfo which is not available for all C libraries (musl). +AC_CHECK_FUNCS([mallinfo]) + # ------------------------------------------------------------------------------ AC_CHECK_DECL([unshare], |