about summary refs log tree commit diff
path: root/stdio-common/stdio_lim.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/stdio_lim.h.in')
-rw-r--r--stdio-common/stdio_lim.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/stdio_lim.h.in b/stdio-common/stdio_lim.h.in
index 806326d953..a827255790 100644
--- a/stdio-common/stdio_lim.h.in
+++ b/stdio-common/stdio_lim.h.in
@@ -27,7 +27,7 @@
 
 # ifdef __USE_POSIX
 #  define L_ctermid @L_ctermid@
-#  ifndef __USE_XOPEN2K
+#  if !defined __USE_XOPEN2K || defined __USE_GNU
 #   define L_cuserid @L_cuserid@
 #  endif
 # endif