This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED 1/3] alpha: Unconditionally include dl-sysdep.h in sysdep.h
- From: Richard Henderson <rth at twiddle dot net>
- To: libc-alpha at sourceware dot org
- Date: Mon, 6 Apr 2015 10:54:52 -0700
- Subject: [COMMITTED 1/3] alpha: Unconditionally include dl-sysdep.h in sysdep.h
- Authentication-results: sourceware.org; auth=none
- References: <1428342894-11889-1-git-send-email-rth at twiddle dot net>
Fixes a -Wundef error wrt RTLD_PRIVATE_ERRNO.
---
ChangeLog | 4 ++++
sysdeps/unix/alpha/sysdep.h | 6 +-----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 54831a7..6416ce2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-04-06 Richard Henderson <rth@redhat.com>
+
+ * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
+
2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
[BZ #17596]
diff --git a/sysdeps/unix/alpha/sysdep.h b/sysdeps/unix/alpha/sysdep.h
index d160214..ff87793 100644
--- a/sysdeps/unix/alpha/sysdep.h
+++ b/sysdeps/unix/alpha/sysdep.h
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <sysdeps/unix/sysdep.h>
+#include <dl-sysdep.h> /* Defines RTLD_PRIVATE_ERRNO. */
#ifdef __ASSEMBLER__
@@ -26,11 +27,6 @@
# include <regdef.h>
#endif
-#if IS_IN (rtld)
-# include <dl-sysdep.h> /* Defines RTLD_PRIVATE_ERRNO. */
-#endif
-
-
#define __LABEL(x) x##:
#define LEAF(name, framesize) \
--
2.1.0