summaryrefslogtreecommitdiff
path: root/apps/examples/ostest/ostest.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/ostest/ostest.h')
-rw-r--r--apps/examples/ostest/ostest.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/examples/ostest/ostest.h b/apps/examples/ostest/ostest.h
index 9c6bb082b..d5016540b 100644
--- a/apps/examples/ostest/ostest.h
+++ b/apps/examples/ostest/ostest.h
@@ -175,7 +175,8 @@ void priority_inheritance(void);
/* vfork.c ******************************************************************/
-#ifdef CONFIG_ARCH_HAVE_VFORK
+#if defined(CONFIG_ARCH_HAVE_VFORK) && defined(CONFIG_SCHED_WAITPID) && \
+ !defined(CONFIG_DISABLE_SIGNALS)
int vfork_test(void);
#endif