- put everything in "GiNaC" namespace
[ginac.git] / ginsh / ginsh.h
index fcd00390d9c7dc64d9de3610cab8342992a46249..bd65a6a752c7a0c122e82b4185ad285464dbcbc0 100644 (file)
 #ifndef GINSH_H
 #define GINSH_H
 
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#ifdef HAVE_READLINE_READLINE_H
+extern "C" {
+#include <readline/readline.h>
+}
+#endif
+
+#ifdef HAVE_READLINE_HISTORY_H
+extern "C" {
+#include <readline/history.h>
+}
+#endif
+
+#include <ginac/ginac.h>
+using namespace GiNaC;
+
 // yacc stack type
 #define YYSTYPE ex