From 8ee59e83fb7b239c793d9cf87590f3f374182fbb Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Sun, 14 Nov 2004 11:39:54 +0000 Subject: [PATCH] Linux: fix compilation --- src/native/common/arb/org_lwjgl_opengl_ARBColorBufferFloat.c | 3 ++- src/native/common/common_tools.h | 2 ++ src/native/common/ext/org_lwjgl_opengl_EXTPalettedTexture.c | 3 ++- src/native/linux/org_lwjgl_Sys.c | 1 - 4 files changed, 6 insertions(+), 3 deletions(-) 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);