summaryrefslogtreecommitdiff
path: root/libiberty/vasprintf.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-09-07 20:37:13 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-09-07 20:37:13 +0000
commit96e88994f8e12b046778f58f3765466843aafba6 (patch)
treefab6b4302fd98288b77e7de3eaee5e8a87529208 /libiberty/vasprintf.c
parent25074193a09a9c2261d7d2987d561333245999af (diff)
downloadgcc-96e88994f8e12b046778f58f3765466843aafba6.tar.gz
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
Diffstat (limited to 'libiberty/vasprintf.c')
-rw-r--r--libiberty/vasprintf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libiberty/vasprintf.c b/libiberty/vasprintf.c
index da83db2ea75..eeb80e661f7 100644
--- a/libiberty/vasprintf.c
+++ b/libiberty/vasprintf.c
@@ -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;