From 537dfd69a17710bd9619047cb715fe479bf52a9c Mon Sep 17 00:00:00 2001 From: Tom Knot Date: Fri, 13 Apr 2018 17:18:29 +0200 Subject: [PATCH] Restored macro for sched include --- modules/unipi/src/unipi_common.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/unipi/src/unipi_common.h b/modules/unipi/src/unipi_common.h index 2c06b0e..c530417 100644 --- a/modules/unipi/src/unipi_common.h +++ b/modules/unipi/src/unipi_common.h @@ -47,7 +47,10 @@ * Definitions * ***************/ -#define NEURONSPI_SCHED_REQUIRED 0 // Older kernels do not require sched/types to be specifically imported +#define NEURONSPI_SCHED_REQUIRED 1 // Older kernels do not require sched/types to be specifically imported +#ifdef NEURONSPI_SCHED_REQUIRED +#include +#endif #define NEURONSPI_MAJOR_VERSIONSTRING "Development Beta Version 0.04:05:04:2018" #define NEURONSPI_MAX_DEVS 3 -- 2.34.1