From eacd97d536fc056eecb159949384841067c90594 Mon Sep 17 00:00:00 2001 From: James Ross-Gowan Date: Sat, 26 Aug 2017 00:28:58 +1000 Subject: mp_image: include config.h directly This is needed for HAVE_SSE4_INTRINSICS. config.h used to be included as a transitive dependency of vf.h, but the include statement was removed from vf.h in 8f2ccba71bb4. Also silence an unused variable warning that was introduced in the same commit. --- video/mp_image.c | 1 + 1 file changed, 1 insertion(+) (limited to 'video/mp_image.c') diff --git a/video/mp_image.c b/video/mp_image.c index 45e5330947..7180e2be50 100644 --- a/video/mp_image.c +++ b/video/mp_image.c @@ -30,6 +30,7 @@ #include "mpv_talloc.h" +#include "config.h" #include "common/common.h" #include "mp_image.h" #include "sws_utils.h" -- cgit v1.2.3