about summary refs log tree commit diff
path: root/include/sys/times.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/times.h')
-rw-r--r--include/sys/times.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sys/times.h b/include/sys/times.h
index aca743d3..cc55e573 100644
--- a/include/sys/times.h
+++ b/include/sys/times.h
@@ -1,6 +1,10 @@
 #ifndef	_SYS_TIMES_H
 #define	_SYS_TIMES_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define __NEED_clock_t
 #include <bits/alltypes.h>
 
@@ -14,4 +18,9 @@ struct tms
 
 clock_t times (struct tms *);
 
+#ifdef __cplusplus
+}
 #endif
+
+#endif
+