summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse.y b/src/parse.y
index 336b20a6c..0768e9eff 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -201,6 +201,7 @@ parser_strndup(parser_state *p, const char *s, size_t len)
b[len] = '\0';
return b;
}
+#undef strndup
#define strndup(s,len) parser_strndup(p, s, len)
static char*