mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-08 04:29:23 +00:00
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:
commit
452b1a534b
@ -23,6 +23,10 @@
|
|||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
#include <linux/init.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 */
|
/* wrap up socket object allocation */
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 00)
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 00)
|
||||||
#define compat_sk_alloc(_net, _family, _priority, _proto) \
|
#define compat_sk_alloc(_net, _family, _priority, _proto) \
|
||||||
|
Loading…
Reference in New Issue
Block a user