diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-06-24 21:28:22 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-06-24 21:28:22 +0000 |
commit | f72cbe85b80644fca327c5de8a98144ca430db22 (patch) | |
tree | 00f552022304a4b0e3d953d3f1be5f45b1c054d2 | |
parent | 18bce0ec618fa430d4e94acb8048e40e0ff583a3 (diff) | |
download | gcc-f72cbe85b80644fca327c5de8a98144ca430db22.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27736 138bc75d-0d04-0410-961f-82ee72b054a4
-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 |