summaryrefslogtreecommitdiff
path: root/src/stdio/putw.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/putw.c
parent25b88f081076a7beb2331ec219640d1a829cdcc4 (diff)
downloadmusl-98eddc677609c20796982f3171165700613e3cf2.tar.gz
make sure getw/putw agree with prototypes by defining _GNU_SOURCE
Diffstat (limited to 'src/stdio/putw.c')
-rw-r--r--src/stdio/putw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdio/putw.c b/src/stdio/putw.c
index 137832ee..a6d24292 100644
--- a/src/stdio/putw.c
+++ b/src/stdio/putw.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <stdio.h>
int putw(int x, FILE *f)