summaryrefslogtreecommitdiff
path: root/test/test-skeleton.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-skeleton.c')
-rw-r--r--test/test-skeleton.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-skeleton.c b/test/test-skeleton.c
index 6b7a09164..22fdd8f98 100644
--- a/test/test-skeleton.c
+++ b/test/test-skeleton.c
@@ -31,6 +31,7 @@
#include <sys/wait.h>
#include <sys/param.h>
#include <time.h>
+#include <features.h>
/* The test function is normally called `do_test' and it is called
with argc and argv as the arguments. We nevertheless provide the
@@ -287,7 +288,7 @@ main (int argc, char *argv[])
- set up the timer
- fork and execute the function. */
-#ifdef __UCLIBC_HAS_MMU__
+#if defined __ARCH_USE_MMU__ || ! defined __UCLIBC__
pid = fork ();
if (pid == 0)
{