From 9177e7536ea82b739c72d3e41a319af7dbc15661 Mon Sep 17 00:00:00 2001 From: Jens Vollinga Date: Sun, 9 Aug 2009 23:27:10 +0200 Subject: [PATCH] Fixed include of stdint.h (parser.cpp needs the header as well). --- ginac/parser/default_reader.tpl | 3 ++- ginac/parser/parser.cpp | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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 -- 2.47.0