Skip to content
Snippets Groups Projects
Commit 97a24a78 authored by Jerry Van Baren's avatar Jerry Van Baren Committed by Wolfgang Denk
Browse files

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: default avatarGerald Van Baren <vanbaren@cideas.com>
parent 1fc2b165
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment