diff options
Diffstat (limited to 'main/zfs-vanilla/0002-Include-sys-types.h-in-devid.h.patch')
-rw-r--r-- | main/zfs-vanilla/0002-Include-sys-types.h-in-devid.h.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/main/zfs-vanilla/0002-Include-sys-types.h-in-devid.h.patch b/main/zfs-vanilla/0002-Include-sys-types.h-in-devid.h.patch new file mode 100644 index 0000000000..350d2cb6ba --- /dev/null +++ b/main/zfs-vanilla/0002-Include-sys-types.h-in-devid.h.patch @@ -0,0 +1,29 @@ +From 38cab4ba7bdeee22a114bcb09665be980a5b1f39 Mon Sep 17 00:00:00 2001 +From: Carlo Landmeter <clandmeter@gmail.com> +Date: Tue, 1 Mar 2016 15:56:26 +0100 +Subject: [PATCH 2/8] Include sys/types.h in devid.h + +This is needed for musl libc + +Signed-off-by: Carlo Landmeter <clandmeter@gmail.com> +Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> +Closes #4454 +--- + lib/libspl/include/devid.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/libspl/include/devid.h b/lib/libspl/include/devid.h +index 5406c33..4b346da 100644 +--- a/lib/libspl/include/devid.h ++++ b/lib/libspl/include/devid.h +@@ -27,6 +27,7 @@ + #ifndef _LIBSPL_DEVID_H + #define _LIBSPL_DEVID_H + ++#include <sys/types.h> + #include <stdlib.h> + + typedef int ddi_devid_t; +-- +2.7.4 + |