From 4a666205f61380c30ae0de91304f38685fb2a11f Mon Sep 17 00:00:00 2001
From: Ian Moffett <ian@osmora.org>
Date: Wed, 24 Apr 2024 23:34:33 -0400
Subject: kernel: signal: Include sys/proc.h only in kernel

Signed-off-by: Ian Moffett <ian@osmora.org>
---
 sys/include/sys/signal.h | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'sys')

diff --git a/sys/include/sys/signal.h b/sys/include/sys/signal.h
index bd1168d..640773d 100644
--- a/sys/include/sys/signal.h
+++ b/sys/include/sys/signal.h
@@ -30,7 +30,9 @@
 #ifndef _SYS_SIGNAL_H_
 #define _SYS_SIGNAL_H_
 
+#if defined(_KERNEL)
 #include <sys/proc.h>
+#endif
 
 #define SIGFPE 8    /* Floating point exception */
 #define SIGKILL 9   /* Kill */
-- 
cgit v1.2.3