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"