diff --git a/Post/PViewVertexArrays.cpp b/Post/PViewVertexArrays.cpp
index 5e342e3a36397183bab3112407649ee226aabf19..7b5380bef7234c5e856d113dd10832ef3c1a0690 100644
--- a/Post/PViewVertexArrays.cpp
+++ b/Post/PViewVertexArrays.cpp
@@ -3,6 +3,7 @@
 // See the LICENSE.txt file for license information. Please report all
 // bugs and problems to <gmsh@geuz.org>.
 
+#include <string.h>
 #include "GmshMessage.h"
 #include "GmshDefines.h"
 #include "Iso.h"