diff --git a/src/video/cocoa/cocoa_v.mm b/src/video/cocoa/cocoa_v.mm index 6c8981cca8..f338ee3ffa 100644 --- a/src/video/cocoa/cocoa_v.mm +++ b/src/video/cocoa/cocoa_v.mm @@ -29,6 +29,7 @@ #include "../../openttd.h" #include "../../debug.h" #include "../../core/geometry_type.hpp" +#include "../../core/sort_func.hpp" #include "cocoa_v.h" #include "../../blitter/factory.hpp" #include "../../fileio_func.h" diff --git a/src/video/cocoa/event.mm b/src/video/cocoa/event.mm index dae5253ad9..9057c6ccc8 100644 --- a/src/video/cocoa/event.mm +++ b/src/video/cocoa/event.mm @@ -36,6 +36,7 @@ #include "../../core/random_func.hpp" #include "../../core/math_func.hpp" #include "../../texteff.hpp" +#include "../../window_func.h" #import /* gettimeofday */