Module Name:    src
Committed By:   christos
Date:           Sun Aug 29 08:43:12 UTC 2021

Modified Files:
        src/external/cddl/osnet/sys/sys: time.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/cddl/osnet/sys/sys/time.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/cddl/osnet/sys/sys/time.h
diff -u src/external/cddl/osnet/sys/sys/time.h:1.12 src/external/cddl/osnet/sys/sys/time.h:1.13
--- src/external/cddl/osnet/sys/sys/time.h:1.12	Sun Jun  3 01:55:08 2018
+++ src/external/cddl/osnet/sys/sys/time.h	Sun Aug 29 04:43:12 2021
@@ -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 <p...@freebsd.org>
@@ -96,7 +96,7 @@ ddi_get_lbolt64(void)
 int clock_gettime(clockid_t, struct timespec *)
     __RENAME(__clock_gettime50);
 #endif
-#ifdef __linux__
+#if defined(__linux__) || defined(__GNU__)
 #include <time.h>
 #endif
 

Reply via email to