diff --git a/include/winnt.h b/include/winnt.h
index adfc56d7700a61a4c2bc467ff257d4ea655ba2d0..dc2877abdabbf9561c32ce506769d5ae4a99abd6 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -9,6 +9,10 @@
 
 #include "windef.h"
 
+#ifndef RC_INVOKED
+#include <string.h>
+#endif
+
 #include "pshpack1.h"
 /* Defines */