From 3bf3d361faff5e9a8358939e66e9b076909c02ad Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 28 Jan 2001 09:37:21 +0000 Subject: Update. * conform/conformtest.pl: Undo last change. Define $mustprepend{"stdio.h"}. * libio/stdio.h: Define va_list correctly. --- libio/stdio.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'libio') diff --git a/libio/stdio.h b/libio/stdio.h index af9ab952eb..4c8cea62dc 100644 --- a/libio/stdio.h +++ b/libio/stdio.h @@ -32,9 +32,6 @@ __BEGIN_DECLS # define __need_NULL # include -# define __need___va_list -# include - # include # define __need_FILE # define __need___FILE @@ -66,6 +63,17 @@ typedef struct _IO_FILE __FILE; #include +#ifdef __USE_XOPEN +# ifdef __GNUC__ +# ifndef _VA_LIST_DEFINED +typedef _G_va_list va_list; +# define _VA_LIST_DEFINED +# endif +# else +# include +# endif +#endif + /* The type of the second argument to `fgetpos' and `fsetpos'. */ #ifndef __USE_FILE_OFFSET64 typedef _G_fpos_t fpos_t; -- cgit v1.2.1