summaryrefslogtreecommitdiffstats
path: root/sys/sys/signal.h
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2007-11-28 02:11:17 +0000
committerdavidxu <davidxu@FreeBSD.org>2007-11-28 02:11:17 +0000
commit54f35995c2ce65f23beb667de4ccf3d68139a81a (patch)
tree09182a60b15283c778c7f385d34eb848880a2042 /sys/sys/signal.h
parentf7cf554c6b9e9b0ed1715408e318679dd1b17869 (diff)
downloadFreeBSD-src-54f35995c2ce65f23beb667de4ccf3d68139a81a.zip
FreeBSD-src-54f35995c2ce65f23beb667de4ccf3d68139a81a.tar.gz
Restore member fields sigval_int and sigval_ptr, this unbreaks compilation
of some old programs. Since sigval is union type, this change will not have binary compatibility problem. MFC: after 3 days Discussed with: rwatson, glebius
Diffstat (limited to 'sys/sys/signal.h')
-rw-r--r--sys/sys/signal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index bdda7a3..fd4384d 100644
--- a/sys/sys/signal.h
+++ b/sys/sys/signal.h
@@ -153,6 +153,9 @@ union sigval {
/* Members as suggested by Annex C of POSIX 1003.1b. */
int sival_int;
void *sival_ptr;
+ /* 6.0 compatibility */
+ int sigval_int;
+ void *sigval_ptr;
};
#endif
OpenPOWER on IntegriCloud