Compilation fix

This commit is contained in:
Nekotekina 2015-04-25 23:21:06 +03:00
parent dcf3e0776e
commit 3cab629a67

View File

@ -94,6 +94,7 @@ bool truncate_file(const std::string& file, u64 length)
#else #else
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <dirent.h>
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h> #include <unistd.h>
#if defined(__APPLE__) || defined(__FreeBSD__) #if defined(__APPLE__) || defined(__FreeBSD__)