From 8f02c6f10d2f60b4741d920b4f7a79c5800a87d1 Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Thu, 20 Apr 2006 06:53:22 +0000 Subject: [PATCH] # GCC compatibility This was SVN commit r3788. --- source/i18n/ScriptInterface.h | 2 +- source/lib/allocators.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/i18n/ScriptInterface.h b/source/i18n/ScriptInterface.h index 6a4dbcdce1..f019b31126 100755 --- a/source/i18n/ScriptInterface.h +++ b/source/i18n/ScriptInterface.h @@ -18,7 +18,7 @@ and 'variables' (dependent on the type passed with "translate(...) <<"). ERROR_SUBGROUP(I18n, Script); ERROR_TYPE(I18n_Script, SetupFailed); -#ifdef OS_WIN // the Windows JS libraries are using '_W64 long' to avoid MSVC warnings +#if OS_WIN // the Windows JS libraries are using '_W64 long' to avoid MSVC warnings typedef _W64 long jsval; #else typedef long jsval; diff --git a/source/lib/allocators.h b/source/lib/allocators.h index 89e66f099b..d8e9a99325 100644 --- a/source/lib/allocators.h +++ b/source/lib/allocators.h @@ -23,6 +23,8 @@ #ifndef ALLOCATORS_H__ #define ALLOCATORS_H__ +#include + #include "lib/types.h" #include "lib/posix.h" // PROT_* constants for da_set_prot