aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-24 23:34:33 -0400
committerIan Moffett <ian@osmora.org>2024-04-24 23:34:33 -0400
commit4a666205f61380c30ae0de91304f38685fb2a11f (patch)
treef7c9b836012fdfcc8cd1b61db86511f32c174dd8 /sys
parentaca77923187f3806375464d60e7a5ebcb8a4b393 (diff)
kernel: signal: Include sys/proc.h only in kernel
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
-rw-r--r--sys/include/sys/signal.h2
1 files changed, 2 insertions, 0 deletions
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 */