hppa: fix build failure with RTLD_PRIVATE_ERRNO
diff mbox

Message ID 1424754831-18311-1-git-send-email-vapier@gentoo.org
State Accepted
Headers show

Commit Message

Mike Frysinger Feb. 24, 2015, 5:13 a.m. UTC
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(+)

Patch
diff mbox

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>