diff --git a/contrib/onelab/OnelabClients.cpp b/contrib/onelab/OnelabClients.cpp index b49bcd1d3920e45f294a9c3293b4efbd2ec0243a..cfe9ce40ecc60f341da1fae8a373f37f6dca282d 100644 --- a/contrib/onelab/OnelabClients.cpp +++ b/contrib/onelab/OnelabClients.cpp @@ -1306,6 +1306,10 @@ int mySystem(std::string commandLine){ #include <sys/stat.h> #include <ctime> +#if defined(WIN32) +#include <io.h> +#endif + bool checkIfPresent(std::string fileName){ struct stat buf; if (!stat(fileName.c_str(), &buf))