summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-11 20:40:38 +0000
committerYang Tse <yangsita@gmail.com>2006-07-11 20:40:38 +0000
commit31dfa4924d4b29208cff39d185992cddf4e16a48 (patch)
treea7ffc1e8cf6be957c4093a8fb755b26ed299d92b /configure.ac
parent04369e1134101bd4ea176cef45e87b2c7640432f (diff)
downloadc-ares-31dfa4924d4b29208cff39d185992cddf4e16a48.tar.gz
c-ares-31dfa4924d4b29208cff39d185992cddf4e16a48.tar.bz2
c-ares-31dfa4924d4b29208cff39d185992cddf4e16a48.zip
Define NEED_MALLOC_H if including <stdlib.h> is not enough for proper compilation and <malloc.h> must also be included.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a59e701..b331c33 100644
--- a/configure.ac
+++ b/configure.ac
@@ -96,6 +96,8 @@ CURL_CHECK_HEADER_WINSOCK
CURL_CHECK_HEADER_WINSOCK2
CURL_CHECK_HEADER_WS2TCPIP
+CURL_CHECK_HEADER_MALLOC
+
dnl check for a few basic system headers we need
AC_CHECK_HEADERS(
sys/types.h \