diff mbox

[COMMITTED,1/3] alpha: Unconditionally include dl-sysdep.h in sysdep.h

Message ID 1428342894-11889-2-git-send-email-rth@twiddle.net
State New
Headers show

Commit Message

Richard Henderson April 6, 2015, 5:54 p.m. UTC
Fixes a -Wundef error wrt RTLD_PRIVATE_ERRNO.
---
 ChangeLog                   | 4 ++++
 sysdeps/unix/alpha/sysdep.h | 6 +-----
 2 files changed, 5 insertions(+), 5 deletions(-)
diff mbox

Patch

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)			\