Add include guard checks to kernel space headers

This commit is contained in:
Sebastian Huber
2022-05-18 10:01:29 +02:00
parent 3ccfb58311
commit 81962136cc
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -36,6 +36,10 @@
#include <sys/time.h>
#include <sys/priority.h>
#if !defined(_SYS_PARAM_H_) || !defined(_KERNEL)
#error "must be included via <sys/param.h> in kernel space"
#endif
#ifndef FALSE
#define FALSE 0
#endif