From fcbf4c346c8a9b88679983614218e90a44fe8f2a Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 13 Jun 2020 16:09:40 +0200 Subject: Fix: don't include alloca.h on systems that don't provide this header This commit fixes a build issue on BSD based systems, where alloca is defined in stdlib.h and there is no such thing as "alloca.h". Signed-off-by: David Oberhollenzer --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 16629d5..54d43f1 100644 --- a/configure.ac +++ b/configure.ac @@ -240,6 +240,7 @@ AX_COMPILE_CHECK_SIZEOF(long long) AC_CHECK_HEADERS([sys/xattr.h], [], []) AC_CHECK_HEADERS([sys/sysinfo.h], [], []) +AC_CHECK_HEADERS([alloca.h], [], []) AC_CHECK_FUNCS([strndup getline getsubopt]) -- cgit v1.2.3