]> 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:47:32 +0000 (23:47 +0100)
committerStefan Krah <skrah@bytereef.org>
Thu, 22 Nov 2012 22:47:32 +0000 (23:47 +0100)
configure
configure.ac

index 534c8df4168bedfae762109117c2dddbb6da3ded..bea5062c2032b39b1b731f4d74ce2306e5d86617 100755 (executable)
--- a/configure
+++ b/configure
@@ -11620,6 +11620,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>
@@ -14833,6 +14834,7 @@ else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
+#include <stdio.h>
 #include<stdlib.h>
 int main() {
     size_t len = -1;
index 862d694e75bd69e8be725626da4c3d6de7b6040a..4d4f05fb38ac6b26cd71f991b75d0aea4f409de7 100644 (file)
@@ -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;