summaryrefslogtreecommitdiffstats
path: root/freebsd/sbin/nvmecontrol/modules/wdc/wdc.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sbin/nvmecontrol/modules/wdc/wdc.c')
-rw-r--r--freebsd/sbin/nvmecontrol/modules/wdc/wdc.c5
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 */