aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_l.l
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_l.l')
-rw-r--r--rcfile_l.l3
1 files changed, 3 insertions, 0 deletions
diff --git a/rcfile_l.l b/rcfile_l.l
index b4899a2c..e27545e4 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -27,6 +27,9 @@ int prc_lineno = 1;
#define YY_NO_INPUT
+#ifdef __cplusplus
+extern "C"
+#endif
int yywrap(void) { return 1; }
%}