diff options
Diffstat (limited to 'freebsd/sbin/nvmecontrol/modules')
-rw-r--r-- | freebsd/sbin/nvmecontrol/modules/intel/intel.c | 5 | ||||
-rw-r--r-- | freebsd/sbin/nvmecontrol/modules/wdc/wdc.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/freebsd/sbin/nvmecontrol/modules/intel/intel.c b/freebsd/sbin/nvmecontrol/modules/intel/intel.c index 8c6c2564..1dcd3a09 100644 --- a/freebsd/sbin/nvmecontrol/modules/intel/intel.c +++ b/freebsd/sbin/nvmecontrol/modules/intel/intel.c @@ -31,6 +31,9 @@ * SUCH DAMAGE. */ +#ifdef __rtems__ +#include <machine/rtems-bsd-program.h> +#endif /* __rtems__ */ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); @@ -48,7 +51,7 @@ __FBSDID("$FreeBSD$"); #include <unistd.h> #include <sys/endian.h> -#include "nvmecontrol.h" +#include "../../nvmecontrol.h" /* * Intel specific log pages from diff --git a/freebsd/sbin/nvmecontrol/modules/wdc/wdc.c b/freebsd/sbin/nvmecontrol/modules/wdc/wdc.c index 3e8be385..81546676 100644 --- a/freebsd/sbin/nvmecontrol/modules/wdc/wdc.c +++ b/freebsd/sbin/nvmecontrol/modules/wdc/wdc.c @@ -25,6 +25,9 @@ * SUCH DAMAGE. */ +#ifdef __rtems__ +#include <machine/rtems-bsd-program.h> +#endif /* __rtems__ */ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); @@ -41,7 +44,7 @@ __FBSDID("$FreeBSD$"); #include <string.h> #include <unistd.h> -#include "nvmecontrol.h" +#include "../../nvmecontrol.h" /* Tables for command line parsing */ |