about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-04-11 10:27:02 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-04-11 10:27:25 +0200
commite1ef505659e9720ebdb116a21e91e0398cd411e5 (patch)
tree2ee940e7978163cb7de69861f3643fb5db1284f6 /sysdeps/unix
parent0cdc5e930a95ca2ec3f2fd9327da93a2fbaf8e97 (diff)
downloadglibc-e1ef505659e9720ebdb116a21e91e0398cd411e5.tar.gz
glibc-e1ef505659e9720ebdb116a21e91e0398cd411e5.tar.xz
glibc-e1ef505659e9720ebdb116a21e91e0398cd411e5.zip
Fix build with HAVE_AUX_VECTOR
	* sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
	including <ldsodefs.h>.
	* sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/ldsodefs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/ldsodefs.h b/sysdeps/unix/sysv/linux/ldsodefs.h
index 1f4d9e31d0..4c3676e20a 100644
--- a/sysdeps/unix/sysv/linux/ldsodefs.h
+++ b/sysdeps/unix/sysv/linux/ldsodefs.h
@@ -18,12 +18,12 @@
 
 #ifndef	_LDSODEFS_H
 
-/* Get the real definitions.  */
-#include_next <ldsodefs.h>
-
 /* We have the auxiliary vector.  */
 #define HAVE_AUX_VECTOR
 
+/* Get the real definitions.  */
+#include_next <ldsodefs.h>
+
 /* We can assume that the kernel always provides the AT_UID, AT_EUID,
    AT_GID, and AT_EGID values in the auxiliary vector from 2.4.0 or so on.  */
 #define HAVE_AUX_XID