* src/system.h: Include sys/types.
authorAkim Demaille <akim@epita.fr>
Wed, 23 Oct 2002 16:30:50 +0000 (16:30 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 23 Oct 2002 16:30:50 +0000 (16:30 +0000)
Reported by Bert Deknuydt.

ChangeLog
THANKS
src/system.h

index 6ab3560..28bd565 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-22  Akim Demaille  <akim@epita.fr>
+
+       * src/system.h: Include sys/types.
+       Reported by Bert Deknuydt.
+
 2002-10-23  Paul Eggert  <eggert@twinsun.com>
 
        * configure.ac (AC_PROG_LEX): Use instead of AM_PROG_LEX.
@@ -18,7 +23,7 @@
        http://mail.gnu.org/pipermail/bug-bison/2002-October/001769.html
        and I hope it also fixes this bug report:
        http://mail.gnu.org/pipermail/bug-bison/2002-October/001748.html
-       
+
        * doc/bison.texinfo: Minor spelling and typographical fixes.  Use
        @acronym consistently.  Standardize on "Yacc" instead of "YACC",
        "Algol" instead of "ALGOL".  Give a bit more history about BNF.
@@ -45,7 +50,7 @@
        (complaint_issued): Renamed from complain_message_count; likewise.
 
        * src/main.c (main): Use exit to exit with failure.
-       
+
        * src/complain.c (fatal_at, fatal): Use EXIT_FAILURE and EXIT_SUCCESS
        rather than 1 and 0.
        * src/main.c (main): Likewise.
diff --git a/THANKS b/THANKS
index b7fc312..20cff39 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -9,6 +9,7 @@ Andreas Schwab            schwab@suse.de
 Arnold Robbins            arnold@skeeve.com
 Art Haas                  ahaas@neosoft.com
 Benoit Perrot             benoit.perrot@epita.fr
+Bert Deknuydt             Bert.Deknuydt@esat.kuleuven.ac.be
 Bruce Lilly               blilly@erols.com
 Charles-Henri de Boysson  deboys_c@epita.fr
 Cris Bailiff              c.bailiff+bison@awayweb.com
index 69f385c..3dcd007 100644 (file)
@@ -43,6 +43,10 @@ char *alloca ();
 
 #include <assert.h>
 
+#if HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+
 #if HAVE_STDLIB_H
 # include <stdlib.h>
 #endif