Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/compat/sys Additionally pull up the following for tic...
details: https://anonhg.NetBSD.org/src/rev/ab466c75eea6
branches: netbsd-7
changeset: 447225:ab466c75eea6
user: martin <martin%NetBSD.org@localhost>
date: Thu Jan 03 11:13:19 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 c43115ccbefc -r ab466c75eea6 sys/compat/sys/time_types.h
--- a/sys/compat/sys/time_types.h Wed Jan 02 15:32:26 2019 +0000
+++ b/sys/compat/sys/time_types.h Thu Jan 03 11:13:19 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.40.1 2019/01/03 11:13:19 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