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-6-0~22 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=9177e7536ea82b739c72d3e41a319af7dbc15661 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..81f89bf4 100644 --- a/ginac/parser/default_reader.tpl +++ b/ginac/parser/default_reader.tpl @@ -22,6 +22,7 @@ COMMENT a part of GiNaC parser -- construct functions from a byte stream. #ifdef HAVE_CONFIG_H #include "config.h" #endif + #ifdef HAVE_STDINT_H #include // for uintptr_t #endif @@ -87,5 +88,5 @@ const prototype_table& get_default_reader() } return reader; } -} // namespace GiNaC +} // namespace GiNaC diff --git a/ginac/parser/parser.cpp b/ginac/parser/parser.cpp index 36ea7b14..a3284fa4 100644 --- a/ginac/parser/parser.cpp +++ b/ginac/parser/parser.cpp @@ -26,7 +26,13 @@ #include "mul.h" #include "constant.h" #include "function.h" +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif +#ifdef HAVE_STDINT_H +#include // for uintptr_t +#endif #include #include