]> granicus.if.org Git - python/commitdiff
Fix more usages of NULL without including stdio.h.
authorStefan Krah <skrah@bytereef.org>
Thu, 22 Nov 2012 22:56:51 +0000 (23:56 +0100)
committerStefan Krah <skrah@bytereef.org>
Thu, 22 Nov 2012 22:56:51 +0000 (23:56 +0100)
configure
configure.ac

index 40f37de39db760ea35edf3c61257e011f4e81109..992ff183638cac8a58c89b4cd9c823197e852429 100755 (executable)
--- 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>
index 20440275dd3676709128d5aa1783fdfff7775d4f..e5ed4fac0e8044da0bfaaac1af7735a9019ef734 100644 (file)
@@ -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>