From 4f58b7c6f7aaed8c886accb8b119a6948d480e71 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 6 Sep 2002 19:31:46 +0000 Subject: * sysdeps/generic/bits/ustat.h: Comment fix. * io/sys/sendfile.h: Comment fix. * sysdeps/posix/pread.c: Comment fix. * sysdeps/posix/pread64.c: Comment fix. * sysdeps/posix/pwrite.c: Comment fix. * sysdeps/posix/pwrite64.c: Comment fix. --- linuxthreads/sysdeps/alpha/pt-machine.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'linuxthreads/sysdeps') diff --git a/linuxthreads/sysdeps/alpha/pt-machine.h b/linuxthreads/sysdeps/alpha/pt-machine.h index c7d04d48c0..fa0374bc5b 100644 --- a/linuxthreads/sysdeps/alpha/pt-machine.h +++ b/linuxthreads/sysdeps/alpha/pt-machine.h @@ -26,7 +26,11 @@ # define PT_EI extern inline #endif -#include +#ifdef __linux__ +# include +#else +# include +#endif extern long int testandset (int *spinlock); extern int __compare_and_swap (long int *p, long int oldval, long int newval); -- cgit v1.2.3