Author: rwatson
Date: Tue Jan  1 19:42:06 2013
New Revision: 244942
URL: http://svnweb.freebsd.org/changeset/base/244942

Log:
  Merge @219932 from Perforce:
  
    FDT headers can't be included if the kernel is compiled without
    FDT support, due to dependence on generated kobj headers.  BERI
    supports both FDT and non-FDT kernels.
  
    Spotted by: bz

Modified:
  head/sys/mips/beri/beri_machdep.c

Modified: head/sys/mips/beri/beri_machdep.c
==============================================================================
--- head/sys/mips/beri/beri_machdep.c   Tue Jan  1 19:20:51 2013        
(r244941)
+++ head/sys/mips/beri/beri_machdep.c   Tue Jan  1 19:42:06 2013        
(r244942)
@@ -55,8 +55,10 @@ __FBSDID("$FreeBSD$");
 #include <sys/sysproto.h>
 #include <sys/user.h>
 
+#ifdef FDT
 #include <dev/fdt/fdt_common.h>
 #include <dev/ofw/openfirm.h>
+#endif
 
 #include <vm/vm.h>
 #include <vm/vm_object.h>
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to