From 73a2c42ee9038dc74ae66d44dca1d65c982bcb13 Mon Sep 17 00:00:00 2001 From: William Robinet Date: Fri, 28 Aug 2020 16:42:51 +0200 Subject: [PATCH] Make FreeBSD (12.1) happy --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0f88124..45e20fc 100644 --- a/configure.ac +++ b/configure.ac @@ -16,7 +16,8 @@ AC_PROG_INSTALL # Checks for header files. AC_FUNC_ALLOCA -AC_CHECK_HEADERS([arpa/inet.h malloc.h memory.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h sys/time.h unistd.h],,[AC_MSG_ERROR([Missing header.])]) +AC_FUNC_MALLOC +AC_CHECK_HEADERS([arpa/inet.h memory.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h sys/time.h unistd.h],,[AC_MSG_ERROR([Missing header.])]) AC_HEADER_STDC AC_HEADER_TIME