make sure getw/putw agree with prototypes by defining _GNU_SOURCE

This commit is contained in:
Rich Felker 2012-07-04 12:18:46 -04:00
parent 25b88f0810
commit 98eddc6776
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#define _GNU_SOURCE
#include <stdio.h>
int getw(FILE *f)

View File

@ -1,3 +1,4 @@
#define _GNU_SOURCE
#include <stdio.h>
int putw(int x, FILE *f)