diff options
Diffstat (limited to 'linuxthreads/sysdeps/alpha')
-rw-r--r-- | linuxthreads/sysdeps/alpha/pt-machine.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 <asm/pal.h> +#ifdef __linux__ +# include <asm/pal.h> +#else +# include <machine/pal.h> +#endif extern long int testandset (int *spinlock); extern int __compare_and_swap (long int *p, long int oldval, long int newval); |