summaryrefslogtreecommitdiff
path: root/lang/cim/patches/patch-src_genexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/cim/patches/patch-src_genexp.c')
-rw-r--r--lang/cim/patches/patch-src_genexp.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/cim/patches/patch-src_genexp.c b/lang/cim/patches/patch-src_genexp.c
new file mode 100644
index 00000000000..0d9fac2b74a
--- /dev/null
+++ b/lang/cim/patches/patch-src_genexp.c
@@ -0,0 +1,23 @@
+$NetBSD: patch-src_genexp.c,v 1.1 2012/10/26 20:37:15 joerg Exp $
+
+--- src/genexp.c.orig 2012-10-26 13:04:17.000000000 +0000
++++ src/genexp.c
+@@ -20,6 +20,8 @@
+ #include "gen.h"
+ #include "extspec.h"
+
++#include <string.h>
++
+ int stack;
+ static int anttext;
+ int inthunk; /* Brukes i forbindelse med uttrykk i
+@@ -196,8 +198,7 @@ genmodulemark(maintimestamp) char *maint
+ /******************************************************************************
+ GENVALUE */
+
+-genvalue (re)
+- struct EXP *re;
++void genvalue (struct EXP *re)
+ {
+ struct EXP *rex;
+ static struct EXP *ree;