diff --git a/include/fileutils.h b/include/fileutils.h index 80efe4208732371af6f54abcde67ee7e5d67dddf..7b1cc725747f6e86f4706ef0a0a95eb8c76c91ca 100644 --- a/include/fileutils.h +++ b/include/fileutils.h @@ -26,6 +26,8 @@ #ifndef _WIN32 #include <sys/stat.h> // mode_t +#else +#define mode_t unsigned #endif namespace dhtnet {