diff --git a/src/native/common/devil/extil.c b/src/native/common/devil/extil.c index 726cccc1..74c6a151 100644 --- a/src/native/common/devil/extil.c +++ b/src/native/common/devil/extil.c @@ -1,8 +1,10 @@ /* Handle to devil Library */ #ifdef _WIN32 +#include "extil.h" static HMODULE devILhandle; #endif #ifdef _X11 +#include "extil.h" static void* devILhandle; #endif #ifdef _MACOSX @@ -10,8 +12,8 @@ static void* devILhandle; #include #include const struct mach_header* devILhandle = NULL; -#endif #include "extil.h" +#endif /** * Retrieves a function pointer from the devil library diff --git a/src/native/common/devil/extilu.c b/src/native/common/devil/extilu.c index 3567bf1e..471c529c 100644 --- a/src/native/common/devil/extilu.c +++ b/src/native/common/devil/extilu.c @@ -1,8 +1,10 @@ /* Handle to ilu Library */ #ifdef _WIN32 +#include "extilu.h" static HMODULE devILUhandle; #endif #ifdef _X11 +#include "extilu.h" static void* devILUhandle; #endif #ifdef _MACOSX @@ -12,8 +14,8 @@ static void* devILUhandle; // note, we use the IL handle since it's all in one lib extern const struct mach_header* devILhandle; static const struct mach_header* devILUhandle; // never actually used, just makes it shut up -#endif #include "extilu.h" +#endif /** * Retrieves a function pointer from the ilu library diff --git a/src/native/common/devil/extilut.c b/src/native/common/devil/extilut.c index 80a37bf4..c4fdfc02 100644 --- a/src/native/common/devil/extilut.c +++ b/src/native/common/devil/extilut.c @@ -1,8 +1,10 @@ /* Handle to ilut Library */ #ifdef _WIN32 +#include "extilut.h" static HMODULE devILUThandle; #endif #ifdef _X11 +#include "extilut.h" static void* devILUThandle; #endif #ifdef _MACOSX @@ -12,8 +14,8 @@ static void* devILUThandle; // note, we use the IL handle since it's all in one lib extern const struct mach_header* devILhandle; static const struct mach_header* devILUThandle; // never actually used, just makes it shut up -#endif #include "extilut.h" +#endif /** * Retrieves a function pointer from the ilut library