diff options
author | wm4 <wm4@nowhere> | 2017-01-11 18:45:04 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-01-11 18:45:04 +0100 |
commit | a41bedfce5f1df4adf2749eb2358e841bdb7a7f5 (patch) | |
tree | 8bbb4b8cd645419b64dccf5871b0c00b993b865a /video/vaapi.c | |
parent | 2afef344fb76f534426c047a3d5077e761a2e00a (diff) | |
download | mpv-a41bedfce5f1df4adf2749eb2358e841bdb7a7f5.tar.bz2 mpv-a41bedfce5f1df4adf2749eb2358e841bdb7a7f5.tar.xz |
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.
Diffstat (limited to 'video/vaapi.c')
-rw-r--r-- | video/vaapi.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <assert.h> +#include "config.h" + #include "vaapi.h" #include "common/common.h" #include "common/msg.h" |