[Python-checkins] cpython (2.7): Fix more usages of NULL without including stdio.h.

stefan.krah python-checkins at python.org
Thu Nov 22 23:57:39 CET 2012


http://hg.python.org/cpython/rev/771f28686022
changeset:   80561:771f28686022
branch:      2.7
parent:      80556:b4f6cd5f9ab7
user:        Stefan Krah <skrah at bytereef.org>
date:        Thu Nov 22 23:56:51 2012 +0100
summary:
  Fix more usages of NULL without including stdio.h.

files:
  configure    |  1 +
  configure.ac |  1 +
  2 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -10881,6 +10881,7 @@
   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
--- a/configure.ac
+++ b/configure.ac
@@ -3074,6 +3074,7 @@
   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>

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list