summaryrefslogtreecommitdiffstats
path: root/src/util/strndup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/strndup.c')
-rw-r--r--src/util/strndup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/strndup.c b/src/util/strndup.c
index 2c24d3789c2..ca1c6f53b57 100644
--- a/src/util/strndup.c
+++ b/src/util/strndup.c
@@ -23,6 +23,7 @@
#if defined(_WIN32)
#include <stdlib.h>
+#include <string.h>
#include "strndup.h"
char *