Author: jmallett
Date: Sun Mar 11 06:49:31 2012
New Revision: 232815
URL: http://svn.freebsd.org/changeset/base/232815

Log:
  Do not try to use libfdt in FreeBSD.

Modified:
  head/sys/contrib/octeon-sdk/cvmx-helper-board.c

Modified: head/sys/contrib/octeon-sdk/cvmx-helper-board.c
==============================================================================
--- head/sys/contrib/octeon-sdk/cvmx-helper-board.c     Sun Mar 11 06:18:56 
2012        (r232814)
+++ head/sys/contrib/octeon-sdk/cvmx-helper-board.c     Sun Mar 11 06:49:31 
2012        (r232815)
@@ -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
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to