about summary refs log tree commit diff
path: root/libio/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'libio/stdio.h')
-rw-r--r--libio/stdio.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libio/stdio.h b/libio/stdio.h
index b220e41081..1167d3cf39 100644
--- a/libio/stdio.h
+++ b/libio/stdio.h
@@ -32,7 +32,9 @@ __BEGIN_DECLS
 # define __need_NULL
 # include <stddef.h>
 
-# define __need___va_list
+# ifndef __USE_XOPEN
+#  define __need___va_list
+# endif
 # include <stdarg.h>
 
 # include <bits/types.h>
@@ -111,7 +113,7 @@ extern void __libc_fatal __P ((__const char *__message))
 #define SEEK_END	2	/* Seek from end of file.  */
 
 
-#ifdef	__USE_SVID
+#if defined __USE_SVID || defined __USE_XOPEN
 /* Default path prefix for `tempnam' and `tmpnam'.  */
 # define P_tmpdir	"/tmp"
 #endif