diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2012-04-17 15:10:12 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2012-04-17 15:10:12 +0000 |
commit | 9b821e4a9a53bf165a56c01038259b3c0e83bdc6 (patch) | |
tree | 48b3b31f9d6fd31644c69d197fad668bc3f3ba59 /lib/librthread/rthread_cancel.c | |
parent | 21acde5b26ef6f0bad9216e1b2f668bc4d91ac3c (diff) |
Remove "#define _POSIX_THREADS" line before include <pthread.h>.
The latter contains "#define _POSIX_THREADS 1" which makes gcc 2.95 complain.
Diffstat (limited to 'lib/librthread/rthread_cancel.c')
-rw-r--r-- | lib/librthread/rthread_cancel.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/librthread/rthread_cancel.c b/lib/librthread/rthread_cancel.c index 16b0b22517d..a1ccd9f0669 100644 --- a/lib/librthread/rthread_cancel.c +++ b/lib/librthread/rthread_cancel.c @@ -1,10 +1,8 @@ -/* $OpenBSD: rthread_cancel.c,v 1.5 2012/03/22 01:11:47 guenther Exp $ */ +/* $OpenBSD: rthread_cancel.c,v 1.6 2012/04/17 15:10:11 miod Exp $ */ /* $snafu: libc_tag.c,v 1.4 2004/11/30 07:00:06 marc Exp $ */ /* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org> */ -#define _POSIX_THREADS - #include <sys/types.h> #include <sys/ioctl.h> #include <sys/msg.h> |