From: Václav Slavík Date: Wed, 21 May 2008 09:38:39 +0000 (+0000) Subject: fixed compilation with DirectFB 0.9 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c1eb8caaa401d6a6a861c3e212a5652ff724a119?ds=sidebyside fixed compilation with DirectFB 0.9 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dfb/wrapdfb.h b/include/wx/dfb/wrapdfb.h index 292b83d39e..30faa3b11e 100644 --- a/include/wx/dfb/wrapdfb.h +++ b/include/wx/dfb/wrapdfb.h @@ -16,6 +16,13 @@ #include "wx/vidmode.h" #include +#include + +// DFB < 1.0 didn't have u8 type, only __u8 +#if DIRECTFB_MAJOR_VERSION == 0 +typedef __u8 u8; +#endif + wxDFB_DECLARE_INTERFACE(IDirectFB); wxDFB_DECLARE_INTERFACE(IDirectFBDisplayLayer);