diff --git a/sys/contrib/octeon-sdk/cvmx-dma-engine.c b/sys/contrib/octeon-sdk/cvmx-dma-engine.c index 053c372ba041..d17f60cb2536 100644 --- a/sys/contrib/octeon-sdk/cvmx-dma-engine.c +++ b/sys/contrib/octeon-sdk/cvmx-dma-engine.c @@ -65,8 +65,10 @@ #include #include #else +#if !defined(__FreeBSD__) || !defined(_KERNEL) #include "executive-config.h" #include "cvmx-config.h" +#endif #include "cvmx.h" #include "cvmx-cmd-queue.h" #include "cvmx-dma-engine.h"