diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread35.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/pthread35.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread35.c b/testsuites/psxtests/psxhdrs/pthread35.c index 44046182c6..fcb1e5cec9 100644 --- a/testsuites/psxtests/psxhdrs/pthread35.c +++ b/testsuites/psxtests/psxhdrs/pthread35.c @@ -14,6 +14,12 @@ #include <pthread.h> +#if !HAVE_DECL_PTHREAD_ATTR_SETCPUTIME +extern int pthread_attr_setcputime( + pthread_attr_t *attr, + int clock_allowed); +#endif + #ifndef _POSIX_THREAD_CPUTIME #error "rtems is supposed to have pthread_attr_setcputime" #endif |