summaryrefslogtreecommitdiff
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.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/stdio-common/stdio_lim.h.in b/stdio-common/stdio_lim.h.in
index bb496c59de..a827255790 100644
--- a/stdio-common/stdio_lim.h.in
+++ b/stdio-common/stdio_lim.h.in
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1997, 1998, 1999, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -27,7 +27,9 @@
# ifdef __USE_POSIX
# define L_ctermid @L_ctermid@
-# define L_cuserid @L_cuserid@
+# if !defined __USE_XOPEN2K || defined __USE_GNU
+# define L_cuserid @L_cuserid@
+# endif
# endif
#endif