summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-11-22 22:47:32 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-11-22 22:47:32 (GMT)
commit19c2139d2d7ce873b175b5a38741ecb8cda53220 (patch)
tree380e2d3f8cda1cd755661e2928fba20ee07c2ffc /configure.ac
parent7dba5940ae0b4d8b82b5497717accaa03ee66f1c (diff)
downloadcpython-19c2139d2d7ce873b175b5a38741ecb8cda53220.zip
cpython-19c2139d2d7ce873b175b5a38741ecb8cda53220.tar.gz
cpython-19c2139d2d7ce873b175b5a38741ecb8cda53220.tar.bz2
Fix more usages of NULL without including stdio.h.
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 862d694..4d4f05f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3119,6 +3119,7 @@ then
AC_MSG_CHECKING(getaddrinfo bug)
AC_CACHE_VAL(ac_cv_buggy_getaddrinfo,
AC_RUN_IFELSE([AC_LANG_SOURCE([[[
+#include <stdio.h>
#include <sys/types.h>
#include <netdb.h>
#include <string.h>
@@ -4447,6 +4448,7 @@ AC_CHECK_TYPE(socklen_t,,
AC_MSG_CHECKING(for broken mbstowcs)
AC_CACHE_VAL(ac_cv_broken_mbstowcs,
AC_RUN_IFELSE([AC_LANG_SOURCE([[
+#include <stdio.h>
#include<stdlib.h>
int main() {
size_t len = -1;