summaryrefslogtreecommitdiff
path: root/libiberty/setenv.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-24 21:28:22 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-24 21:28:22 +0000
commitf72cbe85b80644fca327c5de8a98144ca430db22 (patch)
tree00f552022304a4b0e3d953d3f1be5f45b1c054d2 /libiberty/setenv.c
parent18bce0ec618fa430d4e94acb8048e40e0ff583a3 (diff)
downloadgcc-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
Diffstat (limited to 'libiberty/setenv.c')
-rw-r--r--libiberty/setenv.c3
1 files changed, 3 insertions, 0 deletions
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>