netinet/in.h: add IPV6_ROUTER_ALERT_ISOLATE from linux v5.1
[musl] / include / sys / times.h
index aca743d..80a5052 100644 (file)
@@ -1,11 +1,14 @@
 #ifndef        _SYS_TIMES_H
 #define        _SYS_TIMES_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define __NEED_clock_t
 #include <bits/alltypes.h>
 
-struct tms
-{
+struct tms {
        clock_t tms_utime;
        clock_t tms_stime;
        clock_t tms_cutime;
@@ -14,4 +17,9 @@ struct tms
 
 clock_t times (struct tms *);
 
+#ifdef __cplusplus
+}
 #endif
+
+#endif
+