]> git.cworth.org Git - tar/blobdiff - lib/sys_time.in.h
Imported Upstream version 1.22
[tar] / lib / sys_time.in.h
index 2a552e143cb54df8c09eb81bff3dc59a6c44e068..6db7ba8e3567bcea81d1b7de8cce9e308ccb69f1 100644 (file)
 #  include <time.h>
 # 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 */