diff --git a/src/native/common/arb/org_lwjgl_opengl_ARBColorBufferFloat.c b/src/native/common/arb/org_lwjgl_opengl_ARBColorBufferFloat.c index e755c7c8..b70ab8de 100644 --- a/src/native/common/arb/org_lwjgl_opengl_ARBColorBufferFloat.c +++ b/src/native/common/arb/org_lwjgl_opengl_ARBColorBufferFloat.c @@ -63,4 +63,5 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBColorBufferFloat_initNativeStubs } #ifdef __cplusplus } -#endif \ No newline at end of file +#endif + diff --git a/src/native/common/common_tools.h b/src/native/common/common_tools.h index d5fa0114..6a1beb24 100644 --- a/src/native/common/common_tools.h +++ b/src/native/common/common_tools.h @@ -41,6 +41,8 @@ #define _COMMON_TOOLS_H #include +#include +#include #include "org_lwjgl_Sys.h" #define EVENT_BUFFER_SIZE 256 diff --git a/src/native/common/ext/org_lwjgl_opengl_EXTPalettedTexture.c b/src/native/common/ext/org_lwjgl_opengl_EXTPalettedTexture.c index b32cf3f7..9ac82876 100644 --- a/src/native/common/ext/org_lwjgl_opengl_EXTPalettedTexture.c +++ b/src/native/common/ext/org_lwjgl_opengl_EXTPalettedTexture.c @@ -120,4 +120,5 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTPalettedTexture_initNativeStubs( } #ifdef __cplusplus } -#endif \ No newline at end of file +#endif + diff --git a/src/native/linux/org_lwjgl_Sys.c b/src/native/linux/org_lwjgl_Sys.c index 680434e7..7b9423b2 100644 --- a/src/native/linux/org_lwjgl_Sys.c +++ b/src/native/linux/org_lwjgl_Sys.c @@ -142,7 +142,6 @@ JNIEXPORT void JNICALL Java_org_lwjgl_Sys_nAlert(JNIEnv * env, jclass clazz, jst { char * eMessageText = GetStringNativeChars(env, message); char * cTitleBarText = GetStringNativeChars(env, title); - MessageBox(getCurrentHWND(), eMessageText, cTitleBarText, MB_OK | MB_TOPMOST); printfDebug("*** Alert ***%s\n%s\n", cTitleBarText, eMessageText);