From 7b92e9236e9a3a81f6cf0ba6c7da7cc1565a5b98 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 10 Oct 1999 20:32:48 +0000 Subject: [PATCH] I don't know if this is the correct fix, but my kernel can compile with it. --- sys/sys/_sigset.h | 2 +- sys/sys/signal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/_sigset.h b/sys/sys/_sigset.h index 6ef2814181d4..e935d9674c8f 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 6ef2814181d4..e935d9674c8f 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;