--- ptyx/ptys.c.orig 2016-11-03 08:53:58.000000000 -0400 +++ ptyx/ptys.c 2017-07-03 23:18:20.533207642 -0400 @@ -24,10 +24,13 @@ #include /* For EXPORT_SYMBOL */ #include #include +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) +#include +#endif #include #include #include #include #include