mirror of git://git.musl-libc.org/musl
make sure getw/putw agree with prototypes by defining _GNU_SOURCE
This commit is contained in:
parent
25b88f0810
commit
98eddc6776
|
@ -1,3 +1,4 @@
|
|||
#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
|
||||
int getw(FILE *f)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
|
||||
int putw(int x, FILE *f)
|
||||
|
|
Loading…
Reference in New Issue