This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] hppa: fix build failure with RTLD_PRIVATE_ERRNO
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-alpha at sourceware dot org
- Cc: carlos at systemhalted dot org
- Date: Tue, 24 Feb 2015 00:13:51 -0500
- Subject: [PATCH] hppa: fix build failure with RTLD_PRIVATE_ERRNO
- Authentication-results: sourceware.org; auth=none
Pull in dl-sysdep.h like every other linux sysdep.h header does when it
wants to use RTLD_PRIVATE_ERRNO.
Committed as obvious since it fixes a build error; hopefully i'm not being
presumptuous.
---
sysdeps/unix/sysv/linux/hppa/sysdep.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sysdeps/unix/sysv/linux/hppa/sysdep.h b/sysdeps/unix/sysv/linux/hppa/sysdep.h
index eab1a22..ac47814 100644
--- a/sysdeps/unix/sysv/linux/hppa/sysdep.h
+++ b/sysdeps/unix/sysv/linux/hppa/sysdep.h
@@ -21,6 +21,9 @@
#include <asm/unistd.h>
#include <sysdeps/generic/sysdep.h>
+/* Defines RTLD_PRIVATE_ERRNO. */
+#include <dl-sysdep.h>
+
/* In order to get __set_errno() definition in INLINE_SYSCALL. */
#ifndef __ASSEMBLER__
#include <errno.h>
--
2.3.0