Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19c2139

Browse files
author
Stefan Krah
committed
Fix more usages of NULL without including stdio.h.
1 parent 7dba594 commit 19c2139

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

configure

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11620,6 +11620,7 @@ else
1162011620
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1162111621
/* end confdefs.h. */
1162211622
11623+
#include <stdio.h>
1162311624
#include <sys/types.h>
1162411625
#include <netdb.h>
1162511626
#include <string.h>
@@ -14833,6 +14834,7 @@ else
1483314834
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1483414835
/* end confdefs.h. */
1483514836
14837+
#include <stdio.h>
1483614838
#include<stdlib.h>
1483714839
int main() {
1483814840
size_t len = -1;

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3119,6 +3119,7 @@ then
31193119
AC_MSG_CHECKING(getaddrinfo bug)
31203120
AC_CACHE_VAL(ac_cv_buggy_getaddrinfo,
31213121
AC_RUN_IFELSE([AC_LANG_SOURCE([[[
3122+
#include <stdio.h>
31223123
#include <sys/types.h>
31233124
#include <netdb.h>
31243125
#include <string.h>
@@ -4447,6 +4448,7 @@ AC_CHECK_TYPE(socklen_t,,
44474448
AC_MSG_CHECKING(for broken mbstowcs)
44484449
AC_CACHE_VAL(ac_cv_broken_mbstowcs,
44494450
AC_RUN_IFELSE([AC_LANG_SOURCE([[
4451+
#include <stdio.h>
44504452
#include<stdlib.h>
44514453
int main() {
44524454
size_t len = -1;

0 commit comments

Comments
 (0)