Include <string.h>
diff --git a/src/win32/posix_w32.c b/src/win32/posix_w32.c
index ece7223..d3e0bb6 100644
--- a/src/win32/posix_w32.c
+++ b/src/win32/posix_w32.c
@@ -12,6 +12,7 @@
#include <io.h>
#include <fcntl.h>
#include <ws2tcpip.h>
+#include <string.h>
int p_unlink(const char *path)
{