This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs/libiberty includes missing fix


I still need to add the following fix to egcs (as of cvs 1999-06-21) to
be able to bootstrap it on sysV68 :

Tue Jun 22 18:46:20 1999  Philippe De Muyter  <phdm@macqel.be>

        * setenv.c (sys/types.h, stdio.h): Files included.
        * xstrdup.c (sys/types.h): File included.

--- ./libiberty/xstrdup.c	Tue Jun 22 18:38:17 1999
+++ ./libiberty/xstrdup.c	Tue Jun 22 11:33:02 1999
@@ -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
--- ./libiberty/setenv.c	Tue Jun 22 18:38:18 1999
+++ ./libiberty/setenv.c	Tue Jun 22 11:34:03 1999
@@ -30,6 +30,9 @@
 
 #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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]