* [PATCH] Fix NPTL build on IA-64
@ 2004-11-02 21:32 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2004-11-02 21:32 UTC (permalink / raw)
To: Ulrich Drepper, Roland McGrath; +Cc: Glibc hackers
Hi!
After recent changes to smp.h NPTL on IA-64 no longer compiles
- __set_errno is not defined.
Here is a quick fix, though not sure if it wouldn't be better to just
#include <errno.h> in all sysdep.h headers that define INLINE_SYSCALL
macro (as there __set_errno is used).
2004-11-02 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/smp.h: Include errno.h.
--- libc/nptl/sysdeps/unix/sysv/linux/smp.h 24 Oct 2004 22:04:05 -0000 1.2
+++ libc/nptl/sysdeps/unix/sysv/linux/smp.h 2 Nov 2004 17:07:42 -0000 1.1.2.2
@@ -17,6 +17,7 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <sys/sysctl.h>
Jakub
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-02 21:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-02 21:32 [PATCH] Fix NPTL build on IA-64 Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).