From d97ed050a140bcb3555ed00f112eef021bf3fcb2 Mon Sep 17 00:00:00 2001 From: riastradh Date: Sun, 19 Dec 2021 01:21:45 +0000 Subject: Define NSEC_PER_SEC and side-load . --- sys/external/bsd/drm2/include/linux/time.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/external/bsd/drm2/include/linux/time.h b/sys/external/bsd/drm2/include/linux/time.h index 17b2da3adc6..8d7ccb60ad9 100644 --- a/sys/external/bsd/drm2/include/linux/time.h +++ b/sys/external/bsd/drm2/include/linux/time.h @@ -1,4 +1,4 @@ -/* $NetBSD: time.h,v 1.6 2021/12/19 01:16:28 riastradh Exp $ */ +/* $NetBSD: time.h,v 1.7 2021/12/19 01:21:45 riastradh Exp $ */ /*- * Copyright (c) 2013 The NetBSD Foundation, Inc. @@ -34,9 +34,12 @@ #include +#include + #define timespec64 timespec /* take that, 2038 */ #define NSEC_PER_MSEC 1000000L +#define NSEC_PER_SEC 1000000000L /* * XXX get_seconds as implemented by Linux is a Y2038 bug waiting to -- cgit