diff --git a/include/wx/platform.h b/include/wx/platform.h index aed9b04776..06886d705a 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -518,5 +518,14 @@ # define wxUSE_WXDIB 1 #endif +/* + We need AvailabilityMacros.h for ifdefing out things that don't exist on + OSX 10.2 and lower + FIXME: We need a better way to detect for 10.3 then including a system header +*/ +#ifdef __DARWIN__ + #include +#endif + #endif /* _WX_PLATFORM_H_ */