make sure getw/putw agree with prototypes by defining _GNU_SOURCE
[musl] / src / stdio / putw.c
index 137832e..a6d2429 100644 (file)
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 #include <stdio.h>
 
 int putw(int x, FILE *f)