1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

dvb-core: fix build on linux-4.12

This commit is contained in:
Daniel Scheller 2017-07-10 18:04:28 +02:00
parent 933779aa24
commit 0e4fa83541

View File

@ -31,7 +31,11 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/string.h> #include <linux/string.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0))
#include <linux/uaccess.h>
#else
#include <asm/uaccess.h> #include <asm/uaccess.h>
#endif
#include "dvb_ringbuffer.h" #include "dvb_ringbuffer.h"