summaryrefslogtreecommitdiff
path: root/src/stdio/getw.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-07-04 12:18:46 -0400
committerRich Felker <dalias@aerifal.cx>2012-07-04 12:18:46 -0400
commit98eddc677609c20796982f3171165700613e3cf2 (patch)
treeeee1ee9d882defbc72547a0e71d7a5731ce0ca76 /src/stdio/getw.c
parent25b88f081076a7beb2331ec219640d1a829cdcc4 (diff)
downloadmusl-98eddc677609c20796982f3171165700613e3cf2.tar.gz
make sure getw/putw agree with prototypes by defining _GNU_SOURCE
Diffstat (limited to 'src/stdio/getw.c')
-rw-r--r--src/stdio/getw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdio/getw.c b/src/stdio/getw.c
index de9e985a..73d2c0d5 100644
--- a/src/stdio/getw.c
+++ b/src/stdio/getw.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <stdio.h>
int getw(FILE *f)