aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-lantiq/patches/200-fix-dtc-header-guard.patch
blob: 88d914b1f5a30decd84aeba859a0b3a5f257284c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/include/libfdt_env.h
+++ b/include/libfdt_env.h
@@ -8,6 +8,7 @@
 
 #ifndef _LIBFDT_ENV_H
 #define _LIBFDT_ENV_H
+#define LIBFDT_ENV_H
 
 #include "compiler.h"
 #include "linux/types.h"
--- a/include/libfdt.h
+++ b/include/libfdt.h
@@ -1,5 +1,6 @@
 #ifndef _LIBFDT_H
 #define _LIBFDT_H
+#define LIBFDT_H
 /*
  * libfdt - Flat Device Tree manipulation
  * Copyright (C) 2006 David Gibson, IBM Corporation.