From: Rich Felker Date: Wed, 4 Jul 2012 16:18:46 +0000 (-0400) Subject: make sure getw/putw agree with prototypes by defining _GNU_SOURCE X-Git-Tag: v0.9.3~56 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=98eddc677609c20796982f3171165700613e3cf2;p=oweals%2Fmusl.git make sure getw/putw agree with prototypes by defining _GNU_SOURCE --- 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)