Fix more usages of NULL without including stdio.h.

This commit is contained in:
Stefan Krah 2012-11-22 23:47:32 +01:00
parent 7dba5940ae
commit 19c2139d2d
2 changed files with 4 additions and 0 deletions

2
configure vendored
View File

@ -11620,6 +11620,7 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include <netdb.h> #include <netdb.h>
#include <string.h> #include <string.h>
@ -14833,6 +14834,7 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <stdio.h>
#include<stdlib.h> #include<stdlib.h>
int main() { int main() {
size_t len = -1; size_t len = -1;

View File

@ -3119,6 +3119,7 @@ then
AC_MSG_CHECKING(getaddrinfo bug) AC_MSG_CHECKING(getaddrinfo bug)
AC_CACHE_VAL(ac_cv_buggy_getaddrinfo, AC_CACHE_VAL(ac_cv_buggy_getaddrinfo,
AC_RUN_IFELSE([AC_LANG_SOURCE([[[ AC_RUN_IFELSE([AC_LANG_SOURCE([[[
#include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include <netdb.h> #include <netdb.h>
#include <string.h> #include <string.h>
@ -4447,6 +4448,7 @@ AC_CHECK_TYPE(socklen_t,,
AC_MSG_CHECKING(for broken mbstowcs) AC_MSG_CHECKING(for broken mbstowcs)
AC_CACHE_VAL(ac_cv_broken_mbstowcs, AC_CACHE_VAL(ac_cv_broken_mbstowcs,
AC_RUN_IFELSE([AC_LANG_SOURCE([[ AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <stdio.h>
#include<stdlib.h> #include<stdlib.h>
int main() { int main() {
size_t len = -1; size_t len = -1;