aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--linuxthreads/pthread.c2
-rw-r--r--sysdeps/unix/sysv/linux/ia64/makecontext.c1
3 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d9b945678f..d2e475ca01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-21 Jes Sorensen <jes@linuxcare.com>
+
+ * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
+ for internationalized printfs to work.
+
2001-03-09 Bruno Haible <haible@clisp.cons.org>
* intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c
index b1c6186683..479531b5a4 100644
--- a/linuxthreads/pthread.c
+++ b/linuxthreads/pthread.c
@@ -495,7 +495,7 @@ int __pthread_initialize_manager(void)
struct pthread_request request;
#ifndef HAVE_Z_NODELETE
- if (__builtin_expect (&amp;__dso_handle != NULL, 1))
+ if (__builtin_expect (&__dso_handle != NULL, 1))
__cxa_atexit ((void (*) (void *)) pthread_atexit_retcode, NULL,
__dso_handle);
#endif
diff --git a/sysdeps/unix/sysv/linux/ia64/makecontext.c b/sysdeps/unix/sysv/linux/ia64/makecontext.c
index 24a7d04c77..e4c9b17491 100644
--- a/sysdeps/unix/sysv/linux/ia64/makecontext.c
+++ b/sysdeps/unix/sysv/linux/ia64/makecontext.c
@@ -17,6 +17,7 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <libintl.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>