diff --git a/configure.ac b/configure.ac index 624bbaf4f7..21acb75687 100644 --- a/configure.ac +++ b/configure.ac @@ -176,7 +176,8 @@ AC_CHECK_DECLS([OMX_VIDEO_CodingVP8], HAVE_VP8=yes ], [ HAVE_VP8=no - ], [[#include ]]) + ], [[#include + #include ]]) AM_CONDITIONAL(HAVE_VP8, test "x$HAVE_VP8" = "xyes") AC_CHECK_DECLS([OMX_VIDEO_CodingTheora], diff --git a/omx/gstomxvp8dec.h b/omx/gstomxvp8dec.h index f99f4cebcb..5648ba38a8 100644 --- a/omx/gstomxvp8dec.h +++ b/omx/gstomxvp8dec.h @@ -23,6 +23,7 @@ #include #include "gstomxvideodec.h" +#include G_BEGIN_DECLS