aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-10-23 00:38:23 +0000
committerYang Tse <yangsita@gmail.com>2008-10-23 00:38:23 +0000
commit0abaf2246777df3b06abc3430315d704c808ef4e (patch)
tree536ee2c63158cdcc599bbabe159631e74c39a46f /acinclude.m4
parent463a8134a14110be53a5b12e6f4eec3243518f39 (diff)
#include <stdlib.h> for exit() prototype
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 7a758dc3e..8b10c0e50 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1235,6 +1235,9 @@ AC_DEFUN([CURL_CHECK_NI_WITHSCOPEID], [
[ac_cv_working_ni_withscopeid], [
AC_RUN_IFELSE([
AC_LANG_PROGRAM([[
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif
@@ -2317,6 +2320,9 @@ AC_DEFUN([CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC], [
AC_MSG_CHECKING([if monotonic clock_gettime works])
AC_RUN_IFELSE([
AC_LANG_PROGRAM([[
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif