Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/libfdt/dist Support building libfdt with _S...
details: https://anonhg.NetBSD.org/src/rev/d123b75e7141
branches: trunk
changeset: 992292:d123b75e7141
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Aug 23 01:25:22 2018 +0000
description:
Support building libfdt with _STANDALONE
diffstat:
sys/external/bsd/libfdt/dist/libfdt_env.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 7ae77a2e8c0d -r d123b75e7141 sys/external/bsd/libfdt/dist/libfdt_env.h
--- a/sys/external/bsd/libfdt/dist/libfdt_env.h Thu Aug 23 01:10:36 2018 +0000
+++ b/sys/external/bsd/libfdt/dist/libfdt_env.h Thu Aug 23 01:25:22 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: libfdt_env.h,v 1.3 2017/06/08 15:54:32 skrll Exp $ */
+/* $NetBSD: libfdt_env.h,v 1.4 2018/08/23 01:25:22 jmcneill Exp $ */
#ifndef _LIBFDT_ENV_H
#define _LIBFDT_ENV_H
@@ -54,9 +54,10 @@
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#if defined(_KERNEL)
+#if defined(_KERNEL) || defined(_STANDALONE)
#include <sys/param.h>
#include <sys/types.h>
+#include <lib/libkern/libkern.h>
#else
#include <stddef.h>
#include <stdint.h>
Home |
Main Index |
Thread Index |
Old Index