diff --git a/src/system/boot/platform/generic/video_splash.cpp b/src/system/boot/platform/generic/video_splash.cpp index 5b7db9ec21..d5918e8a51 100644 --- a/src/system/boot/platform/generic/video_splash.cpp +++ b/src/system/boot/platform/generic/video_splash.cpp @@ -11,8 +11,12 @@ #include #include #include -#include #include +#ifdef HAIKU_DISTRO_COMPATIBILITY_OFFICIAL +#include +#else +#include +#endif #include #include diff --git a/src/system/kernel/boot_splash.cpp b/src/system/kernel/boot_splash.cpp index d4a117b164..9501ebec25 100644 --- a/src/system/kernel/boot_splash.cpp +++ b/src/system/kernel/boot_splash.cpp @@ -15,7 +15,11 @@ #include #define __BOOTSPLASH_KERNEL__ +#ifdef HAIKU_DISTRO_COMPATIBILITY_OFFICIAL #include +#else +#include +#endif #include