From a41bedfce5f1df4adf2749eb2358e841bdb7a7f5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 11 Jan 2017 18:45:04 +0100 Subject: vaapi: add missing config.h include A recent commit added code that checks some HAVE_ symbols in this file. No config.h include was added, so they could be unavailable and break compilation (in practice, just --hwdec=vaapi-copy would break). Not sure how I missed this, maybe waf defined these symbols on the compiler command line for some reason. --- video/vaapi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/video/vaapi.c b/video/vaapi.c index db0ebbf8bd..85350743d1 100644 --- a/video/vaapi.c +++ b/video/vaapi.c @@ -17,6 +17,8 @@ #include +#include "config.h" + #include "vaapi.h" #include "common/common.h" #include "common/msg.h" -- cgit v1.2.3