summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/hwcontext_vaapi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c
index 99f76b9169..3797005433 100644
--- a/libavutil/hwcontext_vaapi.c
+++ b/libavutil/hwcontext_vaapi.c
@@ -40,15 +40,13 @@
#include "buffer.h"
#include "common.h"
#include "hwcontext.h"
+#include "hwcontext_drm.h"
#include "hwcontext_internal.h"
#include "hwcontext_vaapi.h"
#include "mem.h"
#include "pixdesc.h"
#include "pixfmt.h"
-#if CONFIG_LIBDRM
-# include "hwcontext_drm.h"
-#endif
typedef struct VAAPIDevicePriv {
#if HAVE_VAAPI_X11