From 32ad26e6987b780e92b16785273b17599d8eee26 Mon Sep 17 00:00:00 2001 From: Erik van der Kouwe Date: Mon, 18 Jan 2010 18:06:43 +0000 Subject: [PATCH] Use _POSIX_SOURCE rather than _MINIX to protect popen, pclose and snprintf --- include/stdio.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/stdio.h b/include/stdio.h index e3f6f8c87..c5ade151d 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -143,9 +143,7 @@ _PROTOTYPE (FILE *fdopen, (int _fildes, const char *_types) ); #define fileno(stream) ((stream)->_fd) #define L_ctermid 255 /* required by POSIX */ #define L_cuserid 255 /* required by POSIX */ -#endif -#ifdef _MINIX _PROTOTYPE(FILE *popen, (const char *_command, const char *_type)); _PROTOTYPE(int pclose, (FILE *_stream)); _PROTOTYPE(int snprintf, (char *_s, size_t _n, const char *_format, ...)); -- 2.44.0