From: Jens Vollinga Date: Sun, 9 Aug 2009 21:27:10 +0000 (+0200) Subject: Fixed include of stdint.h (parser.cpp needs the header as well). X-Git-Tag: release_1-5-4~9 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=dd19b7316b6eba5c49b6a4fb3503c504ec6c866a Fixed include of stdint.h (parser.cpp needs the header as well). --- diff --git a/ginac/parser/default_reader.tpl b/ginac/parser/default_reader.tpl index 2018e04a..9e8c1a04 100644 --- a/ginac/parser/default_reader.tpl +++ b/ginac/parser/default_reader.tpl @@ -19,12 +19,6 @@ COMMENT a part of GiNaC parser -- construct functions from a byte stream. #include "power.h" #include "operators.h" #include "inifcns.h" -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif -#ifdef HAVE_STDINT_H -#include // for uintptr_t -#endif namespace GiNaC { @@ -87,5 +81,5 @@ const prototype_table& get_default_reader() } return reader; } -} // namespace GiNaC +} // namespace GiNaC diff --git a/ginac/parser/parse_context.h b/ginac/parser/parse_context.h index 47b150c3..37e08aa0 100644 --- a/ginac/parser/parse_context.h +++ b/ginac/parser/parse_context.h @@ -30,6 +30,12 @@ #include #include #include +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif +#ifdef HAVE_STDINT_H +#include // for uintptr_t +#endif namespace GiNaC {