diff --git a/Geo/GModelIO_NEU.cpp b/Geo/GModelIO_NEU.cpp
index b3c80b0c1013bd4d823a5bd3383079220a3debf7..e47105acae3509df5c000e3cc50235ccff7ff3a9 100644
--- a/Geo/GModelIO_NEU.cpp
+++ b/Geo/GModelIO_NEU.cpp
@@ -3,6 +3,7 @@
 // See the LICENSE.txt file for license information. Please report all
 // bugs and problems to the public mailing list <gmsh@onelab.info>.
 
+#include <time.h>
 #include <algorithm>
 #include <limits>
 #if __cplusplus >= 201103L