Since v4.11-rc1~18^2~76, kill_pid() is declared in "linux/sched/signal.h" instead of in "linux/sched.h". Include the correct header file based on the kernel version to keep it compatible with older kernels. Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@xxxxxxxxxxxxx> --- src/backfire/backfire.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/backfire/backfire.c b/src/backfire/backfire.c index aaf9c4af8e00..7b3b5faf7a11 100644 --- a/src/backfire/backfire.c +++ b/src/backfire/backfire.c @@ -20,8 +20,13 @@ */ #include <linux/module.h> +#include <linux/version.h> +#if LINUX_VERSION_CODE < KERNEL_VERSION(4,11,0) #include <linux/sched.h> +#else +#include <linux/sched/signal.h> +#endif #include <linux/cpumask.h> #include <linux/time.h> #include <linux/smp_lock.h> -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html