Re: [PATCH 1/4] initial libfdt support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13:56 Tue 18 Oct     , Sascha Hauer wrote:
> vanilla libfdt 1.3.0 from the dtc git:
> 
> git://git.jdl.com/software/dtc.git
> 
> Only small adjustments to compile with barebox
we the previous one hust this patch would have allow to compile in Barebox
IIRC
    libfdt: use linux/types.h for uintptr_t

    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx>
---
 include/libfdt_env.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/include/libfdt_env.h b/include/libfdt_env.h
index 449bf60..e83aa96 100644
--- a/include/libfdt_env.h
+++ b/include/libfdt_env.h
@@ -1,8 +1,7 @@
 #ifndef _LIBFDT_ENV_H
 #define _LIBFDT_ENV_H

-#include <stddef.h>
-#include <stdint.h>
+#include <linux/types.h>
 #include <string.h>

 #define _B(n)  ((unsigned long long)((uint8_t *)&x)[n])

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux