aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--evaluator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/evaluator.h b/evaluator.h
index 5de3ce1..172db7c 100644
--- a/evaluator.h
+++ b/evaluator.h
@@ -42,6 +42,7 @@ typedef struct {
/* strndup() may be not available on several platforms */
#ifndef HAVE_STRNDUP
+#include <string.h>
char *strndup(const char *source, size_t len);
#endif