summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/fopencookie.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fopencookie.c')
-rw-r--r--newlib/libc/stdio/fopencookie.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/stdio/fopencookie.c b/newlib/libc/stdio/fopencookie.c
index 588fd4879..3697b48d7 100644
--- a/newlib/libc/stdio/fopencookie.c
+++ b/newlib/libc/stdio/fopencookie.c
@@ -82,6 +82,7 @@ It is not portable. See also the <<funopen>> interface from BSD.
Supporting OS subroutines required: <<sbrk>>.
*/
+#define _GNU_SOURCE
#include <stdio.h>
#include <errno.h>
#include <sys/lock.h>