aboutsummaryrefslogtreecommitdiff
path: root/ares/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
commit4d95d23d99a35a098cdc17f91b36d41dab98a30c (patch)
treeb362f958a9b85b3aa5ffc6b86f37bec5a8fb02ff /ares/configure.ac
parentc6fc5a1a269796a47ac265751e0baafcf436391a (diff)
Define NEED_MALLOC_H if including <stdlib.h> is not enough for proper compilation and <malloc.h> must also be included.
Diffstat (limited to 'ares/configure.ac')
-rw-r--r--ares/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index a59e701c5..b331c3361 100644
--- a/ares/configure.ac
+++ b/ares/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 \