diff --git a/src/libavcodec/from_lavc_vid_conv.c b/src/libavcodec/from_lavc_vid_conv.c index 00c631266..a57dcf55c 100644 --- a/src/libavcodec/from_lavc_vid_conv.c +++ b/src/libavcodec/from_lavc_vid_conv.c @@ -59,7 +59,9 @@ #include "color.h" #include "compat/qsort_s.h" +#ifdef HAVE_CONFIG_H #include "config.h" // for HWACC_VDPAU +#endif #include "debug.h" #include "host.h" #include "hwaccel_vdpau.h"