From 452771913eb555ce6311958938809317db802db9 Mon Sep 17 00:00:00 2001 From: Ralph Metzler Date: Tue, 11 Jul 2017 20:17:28 +0200 Subject: [PATCH] fix for 4.12. kernels --- dvb-core/dvb_ringbuffer.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dvb-core/dvb_ringbuffer.c b/dvb-core/dvb_ringbuffer.c index a5712cd..4a5a976 100644 --- a/dvb-core/dvb_ringbuffer.c +++ b/dvb-core/dvb_ringbuffer.c @@ -31,7 +31,11 @@ #include #include #include +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0) #include +#else +#include +#endif #include "dvb_ringbuffer.h"