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/wdc/wdc.c | |
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/wdc/wdc.c')
-rw-r--r-- | freebsd/sbin/nvmecontrol/modules/wdc/wdc.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 */ |