diff --git a/examples/Assets/DemoUtilities.h b/examples/Assets/DemoUtilities.h index fd906db2c0..96cf595a87 100644 --- a/examples/Assets/DemoUtilities.h +++ b/examples/Assets/DemoUtilities.h @@ -21,6 +21,10 @@ #include +#ifndef PIP_DEMO_UTILITIES_INCLUDED + #define PIP_DEMO_UTILITIES_INCLUDED 1 +#endif + //============================================================================== /* This file contains a bunch of miscellaneous utilities that are diff --git a/examples/DemoRunner/Builds/Android/app/src/main/assets/DemoUtilities.h b/examples/DemoRunner/Builds/Android/app/src/main/assets/DemoUtilities.h index fd906db2c0..96cf595a87 100644 --- a/examples/DemoRunner/Builds/Android/app/src/main/assets/DemoUtilities.h +++ b/examples/DemoRunner/Builds/Android/app/src/main/assets/DemoUtilities.h @@ -21,6 +21,10 @@ #include +#ifndef PIP_DEMO_UTILITIES_INCLUDED + #define PIP_DEMO_UTILITIES_INCLUDED 1 +#endif + //============================================================================== /* This file contains a bunch of miscellaneous utilities that are diff --git a/examples/GUI/WidgetsDemo.h b/examples/GUI/WidgetsDemo.h index 29652735dd..0613d8bc68 100644 --- a/examples/GUI/WidgetsDemo.h +++ b/examples/GUI/WidgetsDemo.h @@ -46,7 +46,9 @@ #pragma once -#include "../Assets/DemoUtilities.h" +#ifndef PIP_DEMO_UTILITIES_INCLUDED + #include "../Assets/DemoUtilities.h" +#endif //============================================================================== static void showBubbleMessage (Component& targetComponent, const String& textToShow,