diff --git a/include/osdep_service_linux.h b/include/osdep_service_linux.h index f81b731..78219e5 100644 --- a/include/osdep_service_linux.h +++ b/include/osdep_service_linux.h @@ -45,7 +45,14 @@ #include #endif #include +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)) + #define HAVE_SIGNAL_FUNCTIONS_OWN_HEADER +#endif +#ifdef HAVE_SIGNAL_FUNCTIONS_OWN_HEADER + #include +#else #include +#endif #include #include #include