aboutsummaryrefslogtreecommitdiffhomepage
path: root/stream/dvbin.h
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2017-10-10 15:51:16 +0200
committerGravatar wm4 <wm4@nowhere>2017-10-10 15:51:16 +0200
commit14541ae2583f2ce1c8b8ebc2dd6cc49235207fc6 (patch)
tree14f622db59a3fd0265fd4e6541cedb6781879dde /stream/dvbin.h
parent7c66c2bb75bb9f252dc976ab1805fecc610438e7 (diff)
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.
Diffstat (limited to 'stream/dvbin.h')
-rw-r--r--stream/dvbin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/stream/dvbin.h b/stream/dvbin.h
index 5329179b0f..284ccbd450 100644
--- a/stream/dvbin.h
+++ b/stream/dvbin.h
@@ -11,6 +11,10 @@
#include "config.h"
#include "stream.h"
+#if !HAVE_GPL
+#error GPL only
+#endif
+
#define SLOF (11700 * 1000UL)
#define LOF1 (9750 * 1000UL)
#define LOF2 (10600 * 1000UL)