From 14541ae2583f2ce1c8b8ebc2dd6cc49235207fc6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 10 Oct 2017 15:51:16 +0200 Subject: Add checks for HAVE_GPL to various GPL-only source files This should actually cover all of them, if you take into account that some unchanged GPL source files include header files with such checks. Also this was done already for the libaf derived code. This is only for "safety" and to avoid misunderstandings. --- stream/stream_dvb.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'stream/stream_dvb.c') diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c index 7514e42fc0..c53753ad31 100644 --- a/stream/stream_dvb.c +++ b/stream/stream_dvb.c @@ -58,6 +58,10 @@ #include "dvbin.h" #include "dvb_tune.h" +#if !HAVE_GPL +#error GPL only +#endif + #define MAX_ADAPTERS 16 #define CHANNEL_LINE_LEN 256 #define min(a, b) ((a) <= (b) ? (a) : (b)) -- cgit v1.2.3