diff options
author | Philippe De Muyter <phdm@macqel.be> | 1999-06-24 23:28:22 +0200 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-06-24 15:28:22 -0600 |
commit | 4ef877d9fb14f9a0de21c8a8d0bac1efc2f6860b (patch) | |
tree | 00f552022304a4b0e3d953d3f1be5f45b1c054d2 /libiberty | |
parent | 2dc130a72eaf694fcf3112abf548c0c19ebd53d8 (diff) | |
download | gcc-4ef877d9fb14f9a0de21c8a8d0bac1efc2f6860b.tar.gz |
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
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/setenv.c | 3 | ||||
-rw-r--r-- | libiberty/xstrdup.c | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 66936c41353..37250a6ebff 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 24 22:26:45 1999 Philippe De Muyter <phdm@macqel.be> + + * setenv.c (sys/types.h, stdio.h): Files included. + * xstrdup.c (sys/types.h): File included. + 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * configure.in (checkfuncs): Add gettimeofday. diff --git a/libiberty/setenv.c b/libiberty/setenv.c index 8a039d18fa8..ba35aabadc2 100644 --- a/libiberty/setenv.c +++ b/libiberty/setenv.c @@ -30,6 +30,9 @@ extern int errno; #if HAVE_STDLIB_H # include <stdlib.h> +#else +#include <sys/types.h> /* For `size_t' */ +#include <stdio.h> /* For `NULL' */ #endif #if HAVE_STRING_H # include <string.h> diff --git a/libiberty/xstrdup.c b/libiberty/xstrdup.c index e16aba08554..342412806da 100644 --- a/libiberty/xstrdup.c +++ b/libiberty/xstrdup.c @@ -5,6 +5,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif +#include <sys/types.h> /* For `size_t' */ #ifdef HAVE_STRING_H #include <string.h> #endif |