Fixes #120 by adding support for v4.11 Linux Kernels which need an extra header.

This commit is contained in:
Jeffrey Bush 2017-08-18 17:20:29 -04:00
parent 5bbdb4f864
commit 7b9612f24e

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) \