Fixed missing includes for Linux

This commit is contained in:
Vojtech Bubnik 2021-04-13 11:23:30 +02:00
parent db324b2295
commit e4dd16f5c3

View File

@ -20,9 +20,14 @@
#ifdef BSD #ifdef BSD
#include <sys/sysctl.h> #include <sys/sysctl.h>
#endif #endif
#ifdef __APPLE__ #ifdef __APPLE__
#include <mach/mach.h> #include <mach/mach.h>
#endif #endif
#ifdef __linux__
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/sendfile.h>
#endif
#endif #endif
#include <boost/log/core.hpp> #include <boost/log/core.hpp>