summaryrefslogtreecommitdiffstats
path: root/libhb/ports.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/ports.c')
-rw-r--r--libhb/ports.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/ports.c b/libhb/ports.c
index c9d2dcd11..936587bdc 100644
--- a/libhb/ports.c
+++ b/libhb/ports.c
@@ -70,7 +70,9 @@
#include <linux/cdrom.h>
#include <fcntl.h>
#include <sys/ioctl.h>
+#ifdef USE_QSV
#include <libdrm/drm.h>
+#endif
#elif defined( SYS_OPENBSD )
#include <sys/dvdio.h>
#include <fcntl.h>