From 919bc52171f32bfe264b987934e1055b6901ac6d Mon Sep 17 00:00:00 2001 From: deischen Date: Wed, 3 Sep 2003 17:56:26 +0000 Subject: Don't assume sizeof(long) = sizeof(int) on x86; use int instead of long types for low-level locks. Add prototypes for some internal libc functions that are wrapped by the library as cancellation points. Add memory barriers to alpha atomic swap functions (submitted by davidxu). Requested by: bde --- lib/libpthread/thread/thr_wait4.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/libpthread/thread/thr_wait4.c') diff --git a/lib/libpthread/thread/thr_wait4.c b/lib/libpthread/thread/thr_wait4.c index 9f23584..07ff79d 100644 --- a/lib/libpthread/thread/thr_wait4.c +++ b/lib/libpthread/thread/thr_wait4.c @@ -33,9 +33,12 @@ */ #include +#include "namespace.h" #include #include #include +#include "un-namespace.h" + #include "thr_private.h" __weak_reference(__wait4, wait4); -- cgit v1.1