Merge pull request #121 from coderforlife/fix-120

Fixes #120 by adding support for v4.11 Linux Kernels which need an ex…
This commit is contained in:
asvitkine 2017-08-18 19:48:36 -04:00 committed by GitHub
commit 452b1a534b

View File

@ -23,6 +23,10 @@
#include <linux/version.h>
#include <linux/init.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0)
#include <linux/sched/signal.h>
#endif
/* wrap up socket object allocation */
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 00)
#define compat_sk_alloc(_net, _family, _priority, _proto) \