diff --git a/simgear/screen/extensions.cxx b/simgear/screen/extensions.cxx index e6c17ea2..4acf0e26 100644 --- a/simgear/screen/extensions.cxx +++ b/simgear/screen/extensions.cxx @@ -24,12 +24,14 @@ #include -#ifndef WIN32 -#include -#else +#ifdef WIN32 #include #endif +#if !defined( WIN32 ) && !defined( __APPLE__ ) +#include +#endif + #include "extensions.hxx" bool SGSearchExtensionsString(char *extString, char *extName) {