From 1dc59ff8a80f2635785bef5c50fb3f7e815f060d Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 25 Nov 2009 14:49:12 -0800 Subject: Fix a build breakage that may happen on some platforms. The parser.y file includes "utf8.h", which uses the the type wint_t. It also includes "lib.h" which uses "wchar_t". But it fails to include any headers which define these types. The generated y.tab.c picks up wchar_t by the Bison-inserted inclusion of , so that's how we got that. But wint_t does not come from any of the headers---if they are standard-conforming. --- ChangeLog | 12 ++++++++++++ parser.y | 2 ++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2f51b4c9..137aa61a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2009-11-25 Kaz Kylheku + + Fix a build breakage that may happen on some platforms. + The parser.y file includes "utf8.h", which uses the the type wint_t. + It also includes "lib.h" which uses "wchar_t". But it fails + to include any headers which define these types. + The generated y.tab.c picks up wchar_t by the Bison-inserted + inclusion of , so that's how we got that. But wint_t does not + come from any of the headers---if they are standard-conforming. + + * parser.y: Add inclusion of and . + 2009-11-25 Kaz Kylheku More valgrind integration. Vector objects keep displaced pointers diff --git a/parser.y b/parser.y index c5d5f9fd..b1242251 100644 --- a/parser.y +++ b/parser.y @@ -30,6 +30,8 @@ #include #include #include +#include +#include #include "config.h" #include "lib.h" #include "regex.h" -- cgit v1.2.3