X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fsys_time.in.h;h=6db7ba8e3567bcea81d1b7de8cce9e308ccb69f1;hb=00fa13ff3f2d5b6e2a94c5e948c38616ff7ad37a;hp=2a552e143cb54df8c09eb81bff3dc59a6c44e068;hpb=cf7169a2ede9bb08b71de68fe0c8bbecf827abe6;p=tar diff --git a/lib/sys_time.in.h b/lib/sys_time.in.h index 2a552e1..6db7ba8 100644 --- a/lib/sys_time.in.h +++ b/lib/sys_time.in.h @@ -41,6 +41,10 @@ # include # endif +#ifdef __cplusplus +extern "C" { +#endif + # if ! @HAVE_STRUCT_TIMEVAL@ struct timeval { @@ -55,4 +59,8 @@ struct timeval int gettimeofday (struct timeval *restrict, void *restrict); # endif +#ifdef __cplusplus +} +#endif + #endif /* _GL_SYS_TIME_H */