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
commit4d95d23d99a35a098cdc17f91b36d41dab98a30c (patch)
treeb362f958a9b85b3aa5ffc6b86f37bec5a8fb02ff /configure.ac
parentc6fc5a1a269796a47ac265751e0baafcf436391a (diff)
downloadcurl-4d95d23d99a35a098cdc17f91b36d41dab98a30c.tar.gz
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, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7ce7b3d5f..c5486a387 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1443,6 +1443,7 @@ dnl **********************************************************************
dnl Checks for header files.
AC_HEADER_STDC
+CURL_CHECK_HEADER_MALLOC
dnl Now check for the very most basic headers. Then we can use these
dnl ones as default-headers when checking for the rest!
@@ -1454,7 +1455,6 @@ AC_CHECK_HEADERS(
sys/ioctl.h \
assert.h \
unistd.h \
- malloc.h \
stdlib.h \
limits.h \
arpa/inet.h \