This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
egcs/libiberty includes missing fix
- To: egcs-patches at egcs dot cygnus dot com (egcs-patches at egcs dot cygnus dot com)
- Subject: egcs/libiberty includes missing fix
- From: "Philippe De Muyter" <phdm at macqel dot be>
- Date: Tue, 22 Jun 1999 18:48:00 +0200 (CEST)
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>