directfb: Add hack to fix compile with broken DirectFB define

Compilation breaks because some versions of DirectFB redefine
__no_instrument_function__, which is used in the G_GNUC_NO_INSTRUMENT
macro.
This commit is contained in:
Jan Schmidt 2013-12-19 11:11:28 +11:00
parent 628461b4d1
commit 81ad21d63e

View file

@ -1,5 +1,10 @@
#include <directfb.h>
#ifdef __no_instrument_function__
#undef __no_instrument_function__
#endif
#include <stdio.h>
#include <gst/gst.h>