diff -ur truecrypt-6.2a-source/Main/FatalErrorHandler.cpp truecrypt-6.2a-source-patched/Main/FatalErrorHandler.cpp --- truecrypt-6.2a-source/Main/FatalErrorHandler.cpp 2009-06-15 12:15:04.000000000 +0200 +++ truecrypt-6.2a-source-patched/Main/FatalErrorHandler.cpp 2009-09-02 22:20:44.000000000 +0200 @@ -21,9 +21,9 @@ #ifdef TC_MACOSX # ifdef __ppc__ -# include +# include # else -# include +# include # endif #elif defined (TC_BSD) # include diff -ur truecrypt-6.2a-source/Main/StringFormatter.h truecrypt-6.2a-source-patched/Main/StringFormatter.h --- truecrypt-6.2a-source/Main/StringFormatter.h 2009-06-15 12:15:04.000000000 +0200 +++ truecrypt-6.2a-source-patched/Main/StringFormatter.h 2009-09-02 22:23:17.000000000 +0200 @@ -9,6 +9,8 @@ #ifndef TC_HEADER_Main_StringFormatter #define TC_HEADER_Main_StringFormatter +#define _XOPEN_SOURCE + #include "System.h" #include "Main.h" diff -ur truecrypt-6.2a-source/Makefile truecrypt-6.2a-source-patched/Makefile --- truecrypt-6.2a-source/Makefile 2009-06-15 12:15:04.000000000 +0200 +++ truecrypt-6.2a-source-patched/Makefile 2009-09-10 09:35:28.000000000 +0200 @@ -145,5 +145,5 @@ PLATFORM := MacOSX APPNAME := TrueCrypt -TC_OSX_SDK ?= /Developer/SDKs/MacOSX10.4u.sdk +TC_OSX_SDK ?= /Developer/SDKs/MacOSX10.6.sdk