diff options
author | Stefan Krah <skrah@bytereef.org> | 2012-11-22 21:49:11 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2012-11-22 21:49:11 (GMT) |
commit | 7dba5940ae0b4d8b82b5497717accaa03ee66f1c (patch) | |
tree | 98710553507a455a0025748a23c4c74903fe709a /configure | |
parent | 5bd9270954f5f6bbf46fd32eec1ad9e81aa8eb79 (diff) | |
download | cpython-7dba5940ae0b4d8b82b5497717accaa03ee66f1c.zip cpython-7dba5940ae0b4d8b82b5497717accaa03ee66f1c.tar.gz cpython-7dba5940ae0b4d8b82b5497717accaa03ee66f1c.tar.bz2 |
Issue #13057: Include stdio.h when NULL is used in configure.ac.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -6562,6 +6562,7 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include <stdio.h> #include <pthread.h> void* routine(void* p){return NULL;} @@ -6617,6 +6618,7 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include <stdio.h> #include <pthread.h> void* routine(void* p){return NULL;} @@ -6666,6 +6668,7 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include <stdio.h> #include <pthread.h> void* routine(void* p){return NULL;} @@ -6715,6 +6718,7 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include <stdio.h> #include <pthread.h> void* routine(void* p){return NULL;} @@ -9323,6 +9327,8 @@ $as_echo "$unistd_defines_pthreads" >&6; } $as_echo_n "checking for pthread_create in -lpthread... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + +#include <stdio.h> #include <pthread.h> void * start_routine (void *arg) { exit (0); } @@ -9672,7 +9678,9 @@ else else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include <pthread.h> + + #include <stdio.h> + #include <pthread.h> void *foo(void *parm) { return NULL; } |