diff options
-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 66936c4..37250a6 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 8a039d1..ba35aab 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 e16aba0..3424128 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 |