Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/sys/compat/sys Additionally pull up the following for tic...
details: https://anonhg.NetBSD.org/src/rev/3a447979bb14
branches: netbsd-8
changeset: 447181:3a447979bb14
user: martin <martin%NetBSD.org@localhost>
date: Thu Jan 03 09:00:01 2019 +0000
description:
Additionally pull up the following for ticket #1151:
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 ff09e14ed13d -r 3a447979bb14 sys/compat/sys/time_types.h
--- a/sys/compat/sys/time_types.h Wed Jan 02 15:53:27 2019 +0000
+++ b/sys/compat/sys/time_types.h Thu Jan 03 09:00:01 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.58.1 2019/01/03 09:00:01 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