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/aa1e114890d8
branches:  trunk
changeset: 364061:aa1e114890d8
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 75ae809d31b4 -r aa1e114890d8 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