summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-10-10 20:32:48 +0000
committerphk <phk@FreeBSD.org>1999-10-10 20:32:48 +0000
commit855a7db95abb4de523c7b1c45f04c7de0791584e (patch)
treec0017f014e6075c887ccadbf6109d9def620554c /sys
parent8d7ebd6e87f333e06119640421446a40e3f3b15b (diff)
downloadFreeBSD-src-855a7db95abb4de523c7b1c45f04c7de0791584e.zip
FreeBSD-src-855a7db95abb4de523c7b1c45f04c7de0791584e.tar.gz
I don't know if this is the correct fix, but my kernel can compile with it.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/_sigset.h2
-rw-r--r--sys/sys/signal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/_sigset.h b/sys/sys/_sigset.h
index 6ef281418..e935d96 100644
--- a/sys/sys/_sigset.h
+++ b/sys/sys/_sigset.h
@@ -125,7 +125,7 @@ typedef void __sighandler_t __P((int));
#define SIG_HOLD ((__sighandler_t *)2)
#define SIG_ERR ((__sighandler_t *)-1)
-#ifdef _P1003_1B_VISIBLE
+#if defined(_P1003_1B_VISIBLE) || defined(KERNEL)
union sigval {
/* Members as suggested by Annex C of POSIX 1003.1b. */
int sigval_int;
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index 6ef281418..e935d96 100644
--- a/sys/sys/signal.h
+++ b/sys/sys/signal.h
@@ -125,7 +125,7 @@ typedef void __sighandler_t __P((int));
#define SIG_HOLD ((__sighandler_t *)2)
#define SIG_ERR ((__sighandler_t *)-1)
-#ifdef _P1003_1B_VISIBLE
+#if defined(_P1003_1B_VISIBLE) || defined(KERNEL)
union sigval {
/* Members as suggested by Annex C of POSIX 1003.1b. */
int sigval_int;
OpenPOWER on IntegriCloud