OSDN Git Service

* setenv.c (sys/types.h, stdio.h): Files included.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Jun 1999 21:28:22 +0000 (21:28 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Jun 1999 21:28:22 +0000 (21:28 +0000)
        * 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

libiberty/ChangeLog
libiberty/setenv.c
libiberty/xstrdup.c

index 66936c4..37250a6 100644 (file)
@@ -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.
index 8a039d1..ba35aab 100644 (file)
@@ -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>
index e16aba0..3424128 100644 (file)
@@ -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