From 98eddc677609c20796982f3171165700613e3cf2 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 4 Jul 2012 12:18:46 -0400 Subject: make sure getw/putw agree with prototypes by defining _GNU_SOURCE --- src/stdio/getw.c | 1 + src/stdio/putw.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src/stdio') 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 int getw(FILE *f) 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 int putw(int x, FILE *f) -- cgit v1.2.1