summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-11-22 22:56:51 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-11-22 22:56:51 (GMT)
commit0afe4e4fa6df2acc46de6e826de06b9f343de7f1 (patch)
tree11ba56f916ded4ae0cec0291c80509c6b88ff62e
parentae66ca64334785fd90835395b58ad0d010226a43 (diff)
downloadcpython-0afe4e4fa6df2acc46de6e826de06b9f343de7f1.zip
cpython-0afe4e4fa6df2acc46de6e826de06b9f343de7f1.tar.gz
cpython-0afe4e4fa6df2acc46de6e826de06b9f343de7f1.tar.bz2
Fix more usages of NULL without including stdio.h.
-rwxr-xr-xconfigure1
-rw-r--r--configure.ac1
2 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 40f37de..992ff18 100755
--- a/configure
+++ b/configure
@@ -10881,6 +10881,7 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+#include <stdio.h>
#include <sys/types.h>
#include <netdb.h>
#include <string.h>
diff --git a/configure.ac b/configure.ac
index 2044027..e5ed4fa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3074,6 +3074,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>