From 0e4fa83541ec9f0aadbc139e7d11855c93d4235e Mon Sep 17 00:00:00 2001 From: Daniel Scheller Date: Mon, 10 Jul 2017 18:04:28 +0200 Subject: [PATCH] dvb-core: fix build on linux-4.12 --- 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..986be2f 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"