diff options
Diffstat (limited to 'cpukit/posix/include/sched.h')
-rw-r--r-- | cpukit/posix/include/sched.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/posix/include/sched.h b/cpukit/posix/include/sched.h index 14a603c0c5..ccc42d35e2 100644 --- a/cpukit/posix/include/sched.h +++ b/cpukit/posix/include/sched.h @@ -7,6 +7,10 @@ #ifndef __POSIX_SCHEDULING_h #define __POSIX_SCHEDULING_h +#ifdef __cplusplus +extern "C" { +#endif + #include <sys/features.h> #if defined(_POSIX_PRIORITY_SCHEDULING) @@ -83,6 +87,10 @@ int sched_yield( void ); #endif /* _POSIX_THREADS or _POSIX_PRIORITY_SCHEDULING */ +#ifdef __cplusplus +} +#endif + #endif /* end of include file */ |