summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-10-08 09:39:36 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-10-08 09:39:36 +0000
commitacd08dd1b16b16c29db6e6b101f7881f2aed77b0 (patch)
treefb34d6747894afb6bf5ef6a6b7c5e4fa25fecc3f /testsuites
parent2010-10-08 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-acd08dd1b16b16c29db6e6b101f7881f2aed77b0.tar.bz2
2010-10-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* psx07/init.c: Add HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE guard around guardsize.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/psxtests/psx07/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/psxtests/psx07/init.c b/testsuites/psxtests/psx07/init.c
index 6533f208ba..a781db0db9 100644
--- a/testsuites/psxtests/psx07/init.c
+++ b/testsuites/psxtests/psx07/init.c
@@ -63,7 +63,9 @@ void *POSIX_Init(
int inheritsched;
int schedpolicy;
size_t stacksize;
+#if HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE
size_t guardsize;
+#endif
void *stackaddr;
int detachstate;
struct sched_param schedparam;