summaryrefslogtreecommitdiff
path: root/sysdeps/nacl/ldsodefs.h
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/nacl/ldsodefs.h
parent0cdc5e930a95ca2ec3f2fd9327da93a2fbaf8e97 (diff)
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/nacl/ldsodefs.h')
-rw-r--r--sysdeps/nacl/ldsodefs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/nacl/ldsodefs.h b/sysdeps/nacl/ldsodefs.h
index bc7723a36e..c6307a64e7 100644
--- a/sysdeps/nacl/ldsodefs.h
+++ b/sysdeps/nacl/ldsodefs.h
@@ -18,14 +18,14 @@
#ifndef _LDSODEFS_H
+/* We have the auxiliary vector. */
+#define HAVE_AUX_VECTOR 1
+
/* Get the real definitions. */
#include_next <ldsodefs.h>
/* Now define our stuff. */
-/* We have the auxiliary vector. */
-#define HAVE_AUX_VECTOR 1
-
/* Used by static binaries to check the auxiliary vector. */
extern void _dl_aux_init (ElfW(auxv_t) *av) internal_function;