mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
make sure getw/putw agree with prototypes by defining _GNU_SOURCE
This commit is contained in:
parent
25b88f0810
commit
98eddc6776
2 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue