changeset 46:48b8cc8508b9

lex.l: Apply patch-ak from pkgsrc.
author ng0@n0.is
date Fri, 03 May 2019 19:54:37 +0000
parents 19920299b91b
children 5f8f0b0e630e
files lex.l
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lex.l	Fri May 03 19:49:00 2019 +0000
+++ b/lex.l	Fri May 03 19:54:37 2019 +0000
@@ -45,6 +45,10 @@
 char *dequote();
 char *stash();
 
+#ifdef X_NOT_STDC_ENV
+char *malloc();
+#endif
+
 %}
 W	[ \t]+
 %%