Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 793e6251 authored by Ramanasarvesh Sadula's avatar Ramanasarvesh Sadula Committed by Dundi Raviteja
Browse files

wlan: Include header file for signal_pending

Definition of signal_pending() is moved to linux/sched/signal.h
in 4.14 kernel, in previous versions it was in include/linux/sched.h

Include sched/signal.h to use this API.

Change-Id: Ie9292fcc90fbd73f673ea012b7df8d5a68e9b182
CRs-Fixed: 2698045
parent aa714872
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -45,6 +45,9 @@
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0))
#include <linux/sched/signal.h>
#endif

/*-------------------------------------------------------------------------- 
  Preprocessor definitions and constants