summaryrefslogtreecommitdiff
path: root/apps/examples/ostest/ostest.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-08 22:53:14 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-08 22:53:14 +0000
commit3219f837f162088ad89b2102d1fcf71b293c14fc (patch)
treee683adb1fe0d36ce9fa9f6219951a8fa2cc369c8 /apps/examples/ostest/ostest.h
parent08650208d65dad8629ef44064f443dfbc2420f38 (diff)
downloadnuttx-3219f837f162088ad89b2102d1fcf71b293c14fc.tar.gz
nuttx-3219f837f162088ad89b2102d1fcf71b293c14fc.tar.bz2
nuttx-3219f837f162088ad89b2102d1fcf71b293c14fc.zip
Fix some problems with the vfork() test on the STM32F3Discovery
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5628 42af7a65-404d-4744-a932-0658087f49c3
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