make sure getw/putw agree with prototypes by defining _GNU_SOURCE
authorRich Felker <dalias@aerifal.cx>
Wed, 4 Jul 2012 16:18:46 +0000 (12:18 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 4 Jul 2012 16:18:46 +0000 (12:18 -0400)
src/stdio/getw.c
src/stdio/putw.c

index de9e985..73d2c0d 100644 (file)
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 #include <stdio.h>
 
 int getw(FILE *f)
index 137832e..a6d2429 100644 (file)
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 #include <stdio.h>
 
 int putw(int x, FILE *f)