diff options
author | 2012-04-17 15:10:11 +0000 | |
---|---|---|
committer | 2012-04-17 15:10:11 +0000 | |
commit | 6db378407fdf7b51844dc4a6b3787d3138aa23d3 (patch) | |
tree | 5482e59b5aa25e14ae85f2527934816f6c2bd8fa /lib/librthread/rthread_libc.c | |
parent | typo (diff) | |
download | wireguard-openbsd-6db378407fdf7b51844dc4a6b3787d3138aa23d3.tar.xz wireguard-openbsd-6db378407fdf7b51844dc4a6b3787d3138aa23d3.zip |
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_libc.c')
-rw-r--r-- | lib/librthread/rthread_libc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/librthread/rthread_libc.c b/lib/librthread/rthread_libc.c index 26abe3d0928..fad70524c75 100644 --- a/lib/librthread/rthread_libc.c +++ b/lib/librthread/rthread_libc.c @@ -1,10 +1,8 @@ -/* $OpenBSD: rthread_libc.c,v 1.9 2011/12/05 04:02:03 guenther Exp $ */ +/* $OpenBSD: rthread_libc.c,v 1.10 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/time.h> #include <pthread.h> |