diff options
-rw-r--r-- | include/time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/time.h b/include/time.h index f85d9c40715a..e011792aaaeb 100644 --- a/include/time.h +++ b/include/time.h @@ -180,7 +180,7 @@ time_t posix2time(time_t t); #include <xlocale/_time.h> #endif -#if __ISO_C_VISIBLE >= 2011 || __POSIX_VISIBLE >= 202405 \ +#if __ISO_C_VISIBLE >= 2011 || __POSIX_VISIBLE >= 202405 || \ (defined(__cplusplus) && __cplusplus >= 201703) #include <sys/_timespec.h> /* ISO/IEC 9899:2011 7.27.2.5 The timespec_get function */ |