Module Name: src
Committed By: jmcneill
Date: Thu Aug 23 01:25:22 UTC 2018
Modified Files:
src/sys/external/bsd/libfdt/dist: libfdt_env.h
Log Message:
Support building libfdt with _STANDALONE
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/libfdt/dist/libfdt_env.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/libfdt/dist/libfdt_env.h
diff -u src/sys/external/bsd/libfdt/dist/libfdt_env.h:1.3 src/sys/external/bsd/libfdt/dist/libfdt_env.h:1.4
--- src/sys/external/bsd/libfdt/dist/libfdt_env.h:1.3 Thu Jun 8 15:54:32 2017
+++ src/sys/external/bsd/libfdt/dist/libfdt_env.h Thu Aug 23 01:25:22 2018
@@ -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>