diff options
Diffstat (limited to 'include/threads.h')
-rw-r--r-- | include/threads.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/threads.h b/include/threads.h index 4a974b53..cde4b91f 100644 --- a/include/threads.h +++ b/include/threads.h @@ -3,6 +3,9 @@ #include <time.h> +#ifdef __cplusplus +extern "C" { +#endif enum { althrd_success = 0, @@ -227,4 +230,8 @@ int altimespec_get(struct timespec *ts, int base); void al_nssleep(time_t sec, long nsec); +#ifdef __cplusplus +} +#endif + #endif /* AL_THREADS_H */ |