Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108651074
D17174.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
525 B
Referenced Files
None
Subscribers
None
D17174.diff
View Options
Index: head/include/time.h
===================================================================
--- head/include/time.h
+++ head/include/time.h
@@ -207,9 +207,13 @@
#include <xlocale/_time.h>
#endif
+#if defined(__BSD_VISIBLE) || __ISO_C_VISIBLE >= 2011 || \
+ (defined(cplusplus) && cplusplus >= 201703)
+#include <sys/_timespec.h>
/* ISO/IEC 9899:201x 7.27.2.5 The timespec_get function */
#define TIME_UTC 1 /* time elapsed since epoch */
int timespec_get(struct timespec *ts, int base);
+#endif
__END_DECLS
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 28, 2:18 AM (10 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16238630
Default Alt Text
D17174.diff (525 B)
Attached To
Mode
D17174: Put guards around timespec_get() decleration.
Attached
Detach File
Event Timeline
Log In to Comment