From af7495ad03784b3f12392b4be6626cc534ba9734 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 11 Apr 2013 10:17:00 +0000 Subject: [PATCH] --- contrib/onelab/OnelabClients.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/onelab/OnelabClients.cpp b/contrib/onelab/OnelabClients.cpp index b49bcd1d39..cfe9ce40ec 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)) -- GitLab