]> git.dujemihanovic.xyz Git - u-boot.git/commit
libfdt: Fix redefined uintptr_t warning for USE_HOSTCC
authorJerry Van Baren <gvb.uboot@gmail.com>
Mon, 24 Nov 2008 13:15:02 +0000 (08:15 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 9 Dec 2008 23:59:15 +0000 (00:59 +0100)
commit97a24a78ee6f34b89b821cb70eda1cf34aa11d97
tree3ed5060c96a552623c7cf6268f27cf1bff0d98e3
parent1fc2b165c51d6f40c8d505f1b3eaefdb6599b17b
libfdt: Fix redefined uintptr_t warning for USE_HOSTCC

Compiling U-Boot in an old OS environment (RedHat-7.3  :-)  gives the
following warnings from FDT:

include/libfdt_env.h:50: warning: redefinition of 'uintptr_t'
/usr/include/stdint.h:129: warning: 'uintptr_t' previously declared here

Fix: Protect the definition of uintptr_t when compiling on the host
system.

Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
include/libfdt_env.h