aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-env-setuid-tunables.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-env-setuid-tunables.c')
-rw-r--r--elf/tst-env-setuid-tunables.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/elf/tst-env-setuid-tunables.c b/elf/tst-env-setuid-tunables.c
index a5f0a81..afcb146 100644
--- a/elf/tst-env-setuid-tunables.c
+++ b/elf/tst-env-setuid-tunables.c
@@ -19,6 +19,12 @@
glibc.malloc.check and glibc.malloc.mmap_threshold but also retain
glibc.malloc.mmap_threshold in an unprivileged child. */
+/* This is compiled as part of the testsuite but needs to see
+ HAVE_TUNABLES. */
+#define _LIBC 1
+#include "config.h"
+#undef _LIBC
+
#define test_parent test_parent_tunables
#define test_child test_child_tunables