diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-09-20 07:57:01 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-11-13 13:04:09 +0100 |
commit | e6acc15bc94ea35f40e50b42692584c456ba9722 (patch) | |
tree | a42ff1052af35a2aadf9d5cb46f400127b07a500 /freebsd/sbin/nvmecontrol/modules | |
parent | NVMECONTROL(8): Add to build (diff) | |
download | rtems-libbsd-e6acc15bc94ea35f40e50b42692584c456ba9722.tar.bz2 |
NVMECONTROL(8): Port to RTEMS
Update #3821.
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 */ |