about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--linuxthreads/ChangeLog3
-rw-r--r--linuxthreads/sysdeps/alpha/pt-machine.h6
3 files changed, 17 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a466ec77a0..8eaa067975 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2002-09-04  Bruno Haible  <bruno@clisp.org>
+
+	* 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.
+
 2002-09-06  Roland McGrath  <roland@redhat.com>
 
 	* posix/sys/utsname.h (_UTSNAME_SYSNAME_LENGTH): New macro, defined
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 6d4850b7bd..a30efcb3ab 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,5 +1,8 @@
 2002-09-04  Bruno Haible  <bruno@clisp.org>
 
+        * sysdeps/alpha/pt-machine.h: Choose different include file location
+        on non-Linux platforms.
+
 	* wrapsyscall.c (PROMOTE_INTEGRAL_TYPE): New macro.
 	(open, open64): Change va_arg argument type to the integral type to
 	which mode_t promotes.
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);