diff options
author | Vojtech Bubnik <bubnikv@gmail.com> | 2021-04-13 12:23:30 +0300 |
---|---|---|
committer | Vojtech Bubnik <bubnikv@gmail.com> | 2021-04-13 12:23:30 +0300 |
commit | e4dd16f5c304b7c468b822ea3ae9f50dbb48e954 (patch) | |
tree | 9d7d84273f2d0fad42d70107501baf49a88b0d8d | |
parent | db324b22951c14d2d3d74b670b6bec4e411c781a (diff) |
Fixed missing includes for Linux
-rw-r--r-- | src/libslic3r/utils.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libslic3r/utils.cpp b/src/libslic3r/utils.cpp index 9d0162980..1ac45f1b5 100644 --- a/src/libslic3r/utils.cpp +++ b/src/libslic3r/utils.cpp @@ -20,9 +20,14 @@ #ifdef BSD #include <sys/sysctl.h> #endif - #ifdef __APPLE__ + #ifdef __APPLE__ #include <mach/mach.h> #endif + #ifdef __linux__ + #include <sys/stat.h> + #include <fcntl.h> + #include <sys/sendfile.h> + #endif #endif #include <boost/log/core.hpp> |