From 4ef877d9fb14f9a0de21c8a8d0bac1efc2f6860b Mon Sep 17 00:00:00 2001 From: Philippe De Muyter Date: Thu, 24 Jun 1999 23:28:22 +0200 Subject: [PATCH] setenv.c (sys/types.h, stdio.h): Files included. * setenv.c (sys/types.h, stdio.h): Files included. * xstrdup.c (sys/types.h): File included. For the gcc-2.95 branch only. Not to be migrated into the mainline tree because it is incomplete. From-SVN: r27736 --- libiberty/ChangeLog | 5 +++++ libiberty/setenv.c | 3 +++ libiberty/xstrdup.c | 1 + 3 files changed, 9 insertions(+) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 66936c413530..37250a6ebff5 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 24 22:26:45 1999 Philippe De Muyter + + * setenv.c (sys/types.h, stdio.h): Files included. + * xstrdup.c (sys/types.h): File included. + 1999-06-21 Andreas Schwab * configure.in (checkfuncs): Add gettimeofday. diff --git a/libiberty/setenv.c b/libiberty/setenv.c index 8a039d18fa8d..ba35aabadc2c 100644 --- a/libiberty/setenv.c +++ b/libiberty/setenv.c @@ -30,6 +30,9 @@ extern int errno; #if HAVE_STDLIB_H # include +#else +#include /* For `size_t' */ +#include /* For `NULL' */ #endif #if HAVE_STRING_H # include diff --git a/libiberty/xstrdup.c b/libiberty/xstrdup.c index e16aba08554b..342412806da8 100644 --- a/libiberty/xstrdup.c +++ b/libiberty/xstrdup.c @@ -5,6 +5,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif +#include /* For `size_t' */ #ifdef HAVE_STRING_H #include #endif