Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/sys/sys Include <time.h> for all GNU sys...



details:   https://anonhg.NetBSD.org/src/rev/a1553cef1efd
branches:  trunk
changeset: 985516:a1553cef1efd
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Aug 29 08:43:12 2021 +0000

description:
Include <time.h> for all GNU systems (hurd). From Damien Zammit

diffstat:

 external/cddl/osnet/sys/sys/time.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c5878a0d6957 -r a1553cef1efd external/cddl/osnet/sys/sys/time.h
--- a/external/cddl/osnet/sys/sys/time.h        Sun Aug 29 08:41:57 2021 +0000
+++ b/external/cddl/osnet/sys/sys/time.h        Sun Aug 29 08:43:12 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: time.h,v 1.12 2018/06/03 05:55:08 chs Exp $    */
+/*     $NetBSD: time.h,v 1.13 2021/08/29 08:43:12 christos Exp $       */
 
 /*-
  * Copyright (c) 2007 Pawel Jakub Dawidek <pjd%FreeBSD.org@localhost>
@@ -96,7 +96,7 @@
 int clock_gettime(clockid_t, struct timespec *)
     __RENAME(__clock_gettime50);
 #endif
-#ifdef __linux__
+#if defined(__linux__) || defined(__GNU__)
 #include <time.h>
 #endif
 



Home | Main Index | Thread Index | Old Index