uboot-lantiq: fix build error on mac os x
[openwrt/openwrt.git] / package / boot / uboot-lantiq / patches / 100-portability.patch
1 --- a/include/image.h
2 +++ b/include/image.h
3 @@ -17,7 +17,6 @@
4 #define __IMAGE_H__
5
6 #include "compiler.h"
7 -#include <asm/byteorder.h>
8
9 /* Define this to avoid #ifdefs later on */
10 struct lmb;
11 @@ -36,6 +35,7 @@ struct lmb;
12
13 #include <lmb.h>
14 #include <asm/u-boot.h>
15 +#include <asm/byteorder.h>
16 #include <command.h>
17
18 /* Take notice of the 'ignore' property for hashes */