diff options
Diffstat (limited to 'video/vdpau.h')
-rw-r--r-- | video/vdpau.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/video/vdpau.h b/video/vdpau.h index b320fa525a..a224229cbb 100644 --- a/video/vdpau.h +++ b/video/vdpau.h @@ -12,6 +12,11 @@ #include "common/msg.h" #include "hwdec.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + #define CHECK_VDP_ERROR_ST(ctx, message, statement) \ do { \ if (vdp_st != VDP_STATUS_OK) { \ |