summaryrefslogtreecommitdiff
path: root/gl/sys_time.in.h
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-12-01 21:55:02 +0100
committerSimon Josefsson <simon@josefsson.org>2008-12-01 21:55:02 +0100
commit1fd55e6c31382dcb274db911f62d14215bfec135 (patch)
tree0974c1dfc3eac05ca161d366e434b196a4c2e0b8 /gl/sys_time.in.h
parent941e2538bd2b75475f74f48904e3a7b18a219306 (diff)
downloadgnutls-1fd55e6c31382dcb274db911f62d14215bfec135.tar.gz
Update gnulib files.
Diffstat (limited to 'gl/sys_time.in.h')
-rw-r--r--gl/sys_time.in.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gl/sys_time.in.h b/gl/sys_time.in.h
index 1a0f241ce3..454078f795 100644
--- a/gl/sys_time.in.h
+++ b/gl/sys_time.in.h
@@ -39,6 +39,10 @@
# include <time.h>
# endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
# if ! @HAVE_STRUCT_TIMEVAL@
struct timeval
{
@@ -53,4 +57,8 @@ struct timeval
int gettimeofday (struct timeval *restrict, void *restrict);
# endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _GL_SYS_TIME_H */