diff --git a/DesktopEditor/common/Directory.cpp b/DesktopEditor/common/Directory.cpp index d9a64a961a0..8b4772f766e 100644 --- a/DesktopEditor/common/Directory.cpp +++ b/DesktopEditor/common/Directory.cpp @@ -35,17 +35,7 @@ #include "windef.h" #include #include -#elif __linux__ - #include - #include - #include - #include -#elif MAC - #include - #include - #include - #include -#elif _IOS +#else #include #include #include diff --git a/DesktopEditor/common/StreamWriter.cpp b/DesktopEditor/common/StreamWriter.cpp index 09d505500da..0916a34bd9b 100644 --- a/DesktopEditor/common/StreamWriter.cpp +++ b/DesktopEditor/common/StreamWriter.cpp @@ -29,6 +29,8 @@ * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode * */ +#include + #include "StreamWriter.h" namespace NSFile diff --git a/DesktopEditor/common/StringBuilder.cpp b/DesktopEditor/common/StringBuilder.cpp index 9d5b9aec8a4..764ed185c03 100644 --- a/DesktopEditor/common/StringBuilder.cpp +++ b/DesktopEditor/common/StringBuilder.cpp @@ -29,6 +29,8 @@ * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode * */ +#include + #include "StringBuilder.h" namespace NSStringUtils diff --git a/DesktopEditor/cximage/CxImage/ximaraw.cpp b/DesktopEditor/cximage/CxImage/ximaraw.cpp index e5661d20055..9f70caebe78 100644 --- a/DesktopEditor/cximage/CxImage/ximaraw.cpp +++ b/DesktopEditor/cximage/CxImage/ximaraw.cpp @@ -9,6 +9,9 @@ * based on dcraw.c -- Dave Coffin's raw photo decoder * Copyright 1997-2007 by Dave Coffin, dcoffin a cybercom o net */ +#if defined(__unix__) +#include +#endif #include "ximaraw.h" #include "../../common/File.h"