Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7-0]: src/sys/compat/sys Additionally pull up the following for t...
details: https://anonhg.NetBSD.org/src/rev/02174a7771ae
branches: netbsd-7-0
changeset: 447229:02174a7771ae
user: martin <martin%NetBSD.org@localhost>
date: Thu Jan 03 11:16:04 2019 +0000
description:
Additionally pull up the following for ticket #1668:
sys/compat/sys/time_types.h 1.3
include libkern.h or string.h & stddef.h, to get the offsetof()
and memset() definitions.
diffstat:
sys/compat/sys/time_types.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 798f7c749c48 -r 02174a7771ae sys/compat/sys/time_types.h
--- a/sys/compat/sys/time_types.h Wed Jan 02 15:30:17 2019 +0000
+++ b/sys/compat/sys/time_types.h Thu Jan 03 11:16:04 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: time_types.h,v 1.1 2009/11/05 16:59:01 pooka Exp $ */
+/* $NetBSD: time_types.h,v 1.1.44.1 2019/01/03 11:16:04 martin Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@@ -34,6 +34,13 @@
#ifndef _COMPAT_SYS_TIME_TYPES_H_
#define _COMPAT_SYS_TIME_TYPES_H_
+#ifdef _KERNEL
+#include <lib/libkern/libkern.h>
+#else
+#include <stddef.h>
+#include <string.h>
+#endif
+
/*
* Structure returned by gettimeofday(2) system call,
* and used in other calls.
Home |
Main Index |
Thread Index |
Old Index