diff options
author | John Stebbins <[email protected]> | 2019-03-09 08:26:57 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-03-09 08:28:07 -0700 |
commit | a05c54f3e3112a11b5326810a3e6e4bd4366c56c (patch) | |
tree | a518cd86798bd1a8d4988be2bb719da39962bb8b /libhb/ports.c | |
parent | 9ce2f651e9161fb16e9972e414c32976fa83ed22 (diff) |
qsv: fix building without qsv when libdrm is not present
Fixes https://github.com/HandBrake/HandBrake/issues/1960
Diffstat (limited to 'libhb/ports.c')
-rw-r--r-- | libhb/ports.c | 2 |
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> |