diff --git a/lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.h b/lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.h index 174c68f11..f1412e03e 100644 --- a/lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.h +++ b/lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.h @@ -19,9 +19,11 @@ #include #include +#ifndef __OBJC__ class NSWindow; class NSOpenGLContext; class NSBitmapImageRep; +#endif namespace irr { diff --git a/src/utils/random_generator.hpp b/src/utils/random_generator.hpp index e5f3c0123..dfa53b46e 100644 --- a/src/utils/random_generator.hpp +++ b/src/utils/random_generator.hpp @@ -21,6 +21,7 @@ #include #include +#include /** A random number generator. Each objects that needs a random number uses its own number random generator. They are all seeded with number provided