libiberty/xstrdup & sys/types.h
Philippe De Muyter
phdm@macqel.be
Sun Oct 31 07:52:00 GMT 1999
Symptom :
"/share/src/gnu/egcs-19991013/libiberty/xstrdup.c", line 18: syntax error
"/share/src/gnu/egcs-19991013/libiberty/xstrdup.c", line 19: len undefined
Fix :
Sun Oct 31 15:59:50 1999 Philippe De Muyter <phdm@macqel.be>
* xstrdup (sys/types.h): Include this file.
--- ./libiberty/xstrdup.c Sun Oct 31 16:49:37 1999
+++ ./libiberty/xstrdup.c Sun Oct 31 16:37:27 1999
@@ -2,6 +2,7 @@
This trivial function is in the public domain.
Ian Lance Taylor, Cygnus Support, December 1995. */
+#include <sys/types.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
More information about the Gcc-patches
mailing list