diff options
author | jmallett <jmallett@FreeBSD.org> | 2012-03-11 06:49:31 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2012-03-11 06:49:31 +0000 |
commit | cc09f92d5be5d129cc314de180c03e97082592ad (patch) | |
tree | 8457f1bde1d3bb8b9623317843d939c49d6ce84e /sys/contrib/octeon-sdk | |
parent | 867aef016ce614b02b3e121296eecfbcb8948e05 (diff) | |
download | FreeBSD-src-cc09f92d5be5d129cc314de180c03e97082592ad.zip FreeBSD-src-cc09f92d5be5d129cc314de180c03e97082592ad.tar.gz |
Do not try to use libfdt in FreeBSD.
Diffstat (limited to 'sys/contrib/octeon-sdk')
-rw-r--r-- | sys/contrib/octeon-sdk/cvmx-helper-board.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/contrib/octeon-sdk/cvmx-helper-board.c b/sys/contrib/octeon-sdk/cvmx-helper-board.c index 74502b6..d9fa7ba 100644 --- a/sys/contrib/octeon-sdk/cvmx-helper-board.c +++ b/sys/contrib/octeon-sdk/cvmx-helper-board.c @@ -73,11 +73,13 @@ #include "cvmx-helper-util.h" #include "cvmx-helper-board.h" #include "cvmx-gpio.h" +#if !defined(__FreeBSD__) || !defined(_KERNEL) #ifdef __U_BOOT__ # include <libfdt.h> #else # include "libfdt/libfdt.h" #endif +#endif #include "cvmx-swap.h" #endif |