mkstemp.c: Include config.h even when not IN_GCC.
* mkstemp.c: Include config.h even when not IN_GCC. Wrap header inclusions inside HAVE_*_H macros. Include ansidecl.h when not IN_GCC. * vasprintf.c: Include stdarg.h/varargs.h first. * vprintf.c: Likewise. From-SVN: r22314
This commit is contained in:
parent
25074193a0
commit
96e88994f8
4 changed files with 25 additions and 5 deletions
|
@ -1,3 +1,13 @@
|
|||
Mon Sep 7 23:29:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* mkstemp.c: Include config.h even when not IN_GCC. Wrap header
|
||||
inclusions inside HAVE_*_H macros. Include ansidecl.h when not
|
||||
IN_GCC.
|
||||
|
||||
* vasprintf.c: Include stdarg.h/varargs.h first.
|
||||
|
||||
* vprintf.c: Likewise.
|
||||
|
||||
Sat Sep 5 03:24:49 1998 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* pexecute.c: Updates from gcc. Copy in gcc has been removed. This
|
||||
|
|
|
@ -16,16 +16,26 @@
|
|||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#ifndef IN_GCC
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
#ifdef HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <sys/time.h>
|
||||
#include "ansidecl.h"
|
||||
#else
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "gansidecl.h"
|
||||
#endif
|
||||
|
|
|
@ -18,14 +18,14 @@ License along with libiberty; see the file COPYING.LIB. If
|
|||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <ansidecl.h>
|
||||
#ifdef __STDC__
|
||||
#include <stdarg.h>
|
||||
#else
|
||||
#include <varargs.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <ansidecl.h>
|
||||
|
||||
#ifdef TEST
|
||||
int global_total_width;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include <stdio.h>
|
||||
#ifdef __STDC__
|
||||
#include <stdarg.h>
|
||||
#else
|
||||
#include <varargs.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <ansidecl.h>
|
||||
#undef vprintf
|
||||
int
|
||||
|
|
Loading…
Add table
Reference in a new issue