about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2015-04-06 10:36:44 -0700
committerRichard Henderson <rth@twiddle.net>2015-04-06 10:36:44 -0700
commitcc47c824769425834518e2b8ea89997455d86ca5 (patch)
treedf54f0466bdb1f6e9d69aaeb0d9f3b01cf06dd99
parent9781a370023952383028e07399fd196a889bb2be (diff)
downloadglibc-cc47c824769425834518e2b8ea89997455d86ca5.tar.gz
glibc-cc47c824769425834518e2b8ea89997455d86ca5.tar.xz
glibc-cc47c824769425834518e2b8ea89997455d86ca5.zip
alpha: Unconditionally include dl-sysdep.h in sysdep.h
Fixes a -Wundef error wrt RTLD_PRIVATE_ERRNO.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/alpha/sysdep.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 54831a7c7f..6416ce2ee3 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 d160214080..ff87793581 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)			\