aboutsummaryrefslogtreecommitdiffstats
path: root/math/GiNaC/files/patch-ginsh::ginsh_parser.yy
diff options
context:
space:
mode:
Diffstat (limited to 'math/GiNaC/files/patch-ginsh::ginsh_parser.yy')
-rw-r--r--math/GiNaC/files/patch-ginsh::ginsh_parser.yy19
1 files changed, 19 insertions, 0 deletions
diff --git a/math/GiNaC/files/patch-ginsh::ginsh_parser.yy b/math/GiNaC/files/patch-ginsh::ginsh_parser.yy
new file mode 100644
index 000000000000..dc0a74f9ea45
--- /dev/null
+++ b/math/GiNaC/files/patch-ginsh::ginsh_parser.yy
@@ -0,0 +1,19 @@
+--- ginsh/ginsh_parser.yy.orig Wed Feb 28 20:55:04 2001
++++ ginsh/ginsh_parser.yy Tue Mar 6 16:45:06 2001
+@@ -29,6 +29,7 @@
+ %{
+ #include "config.h"
+
++#include <sys/time.h>
+ #include <sys/resource.h>
+
+ #if HAVE_UNISTD_H
+@@ -720,6 +721,8 @@
+ /*
+ * Main program
+ */
++
++int yyparse();
+
+ int main(int argc, char **argv)
+ {