mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-28 06:56:16 +01:00
Merge branch 'implicit' into 'main'
build: Fix implicit declaration of function errors See merge request GNOME/glib!2225
This commit is contained in:
commit
27daa925b6
@ -962,6 +962,7 @@ else
|
|||||||
vsnprintf_c99_test_code = '''
|
vsnprintf_c99_test_code = '''
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
doit(char * s, ...)
|
doit(char * s, ...)
|
||||||
@ -1011,6 +1012,7 @@ main(void)
|
|||||||
snprintf_c99_test_code = '''
|
snprintf_c99_test_code = '''
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
doit()
|
doit()
|
||||||
@ -1057,6 +1059,8 @@ main(void)
|
|||||||
|
|
||||||
printf_unix98_test_code = '''
|
printf_unix98_test_code = '''
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
main (void)
|
main (void)
|
||||||
@ -2174,6 +2178,7 @@ cmdline_test_code = '''
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
static int
|
static int
|
||||||
__getcmdline (void)
|
__getcmdline (void)
|
||||||
|
Loading…
Reference in New Issue
Block a user