patch : libiberty/hashtab.c needs sys/types.h
Philippe De Muyter
phdm@macqel.be
Fri Nov 26 02:15:00 GMT 1999
Problem :
cc -c -DHAVE_CONFIG_H -g -I. -I/share/src/gnu/egcs-19991122/libiberty/../include
/share/src/gnu/egcs-19991122/libiberty/hashtab.c
"/share/src/gnu/egcs-19991122/libiberty/../include/hashtab.h", line 53: syntax e
rror
"/share/src/gnu/egcs-19991122/libiberty/../include/hashtab.h", line 53: cannot r
ecover from earlier errors: goodbye!
gnumake[1]: *** [hashtab.o] Error 1
Fix :
Fri Nov 26 10:57:20 1999 Philippe De Muyter <phdm@macqel.be>
* hashtab.c (sys/types.h): File included.
--- ./libiberty/hashtab.c Thu Nov 25 18:26:29 1999
+++ ./libiberty/hashtab.c Wed Nov 24 12:12:06 1999
@@ -35,6 +35,8 @@
#include "config.h"
#endif
+#include <sys/types.h>
+
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
More information about the Gcc-patches
mailing list