aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/smartmontools/files/patch-freebsd_nvme_ioctl.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/smartmontools/files/patch-freebsd_nvme_ioctl.h b/sysutils/smartmontools/files/patch-freebsd_nvme_ioctl.h
index 4cd8a5909c3..5d59abf8bef 100644
--- a/sysutils/smartmontools/files/patch-freebsd_nvme_ioctl.h
+++ b/sysutils/smartmontools/files/patch-freebsd_nvme_ioctl.h
@@ -1,5 +1,5 @@
---- freebsd_nvme_ioctl.h.orig 2016-03-28 09:25:56.000000000 -0700
-+++ freebsd_nvme_ioctl.h 2016-06-15 20:43:22.389493000 -0700
+--- freebsd_nvme_ioctl.h.orig 2016-03-28 16:25:56 UTC
++++ freebsd_nvme_ioctl.h
@@ -31,6 +31,7 @@
#define NVME_PASSTHROUGH_CMD _IOWR('n', 0, struct nvme_pt_command)
@@ -8,10 +8,12 @@
struct nvme_command
{
/* dword 0 */
-@@ -143,6 +144,7 @@
+@@ -143,6 +144,9 @@ struct nvme_pt_command {
*/
struct mtx * driver_lock;
};
++#else
++#include <dev/nvme/nvme.h>
+#endif
#define nvme_completion_is_error(cpl) \