summaryrefslogtreecommitdiffstats
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/common/file_util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp
index 47ad964db..b6ff2e40b 100644
--- a/src/common/file_util.cpp
+++ b/src/common/file_util.cpp
@@ -16,11 +16,11 @@
#include <io.h>
#include <direct.h> // getcwd
#else
+#include <cerrno>
+#include <cstdlib>
#include <sys/param.h>
#include <sys/types.h>
#include <dirent.h>
-#include <errno.h>
-#include <stdlib.h>
#endif
#if defined(__APPLE__)