X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginsh%2Fginsh.h;h=2d3fa32d52b9f4df0a88f62cd3fa3192406cbc21;hp=bd65a6a752c7a0c122e82b4185ad285464dbcbc0;hb=9e027882daaed818363bb4dc0e23d104b25ff5dc;hpb=dab53bee0de888619c55b9ff7d7427dda67d9186;ds=sidebyside diff --git a/ginsh/ginsh.h b/ginsh/ginsh.h index bd65a6a7..2d3fa32d 100644 --- a/ginsh/ginsh.h +++ b/ginsh/ginsh.h @@ -2,7 +2,7 @@ * * Global definitions for ginsh. * - * GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,6 +26,11 @@ #include #include +#include +#include + +using namespace std; + #ifdef HAVE_READLINE_READLINE_H extern "C" { #include @@ -38,8 +43,15 @@ extern "C" { } #endif +#ifdef IN_GINAC +#include "ginac.h" +#else #include +#endif + +#ifndef NO_NAMESPACE_GINAC using namespace GiNaC; +#endif // ndef NO_NAMESPACE_GINAC // yacc stack type #define YYSTYPE ex