X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Fsys_time.in.h;h=6db7ba8e3567bcea81d1b7de8cce9e308ccb69f1;hb=1cbc63c39aad83f1a7963b1a2e5b14e982cea180;hp=2a552e143cb54df8c09eb81bff3dc59a6c44e068;hpb=d3daaa199aca7497bb507f92b693c8457353f96a;p=debian%2Ftar diff --git a/lib/sys_time.in.h b/lib/sys_time.in.h index 2a552e14..6db7ba8e 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 */