[PATCH] Fix NPTL build on IA-64
Jakub Jelinek
jakub@redhat.com
Tue Nov 2 21:32:00 GMT 2004
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
More information about the Libc-hacker
mailing list