diff options
Diffstat (limited to 'testing/zfs-grsec/0006-Include-sys-types.h-in-devid.h.patch')
-rw-r--r-- | testing/zfs-grsec/0006-Include-sys-types.h-in-devid.h.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/zfs-grsec/0006-Include-sys-types.h-in-devid.h.patch b/testing/zfs-grsec/0006-Include-sys-types.h-in-devid.h.patch new file mode 100644 index 0000000000..9301c52f1c --- /dev/null +++ b/testing/zfs-grsec/0006-Include-sys-types.h-in-devid.h.patch @@ -0,0 +1,25 @@ +From 9104430ec34fe257ccb6e199771c804d38f0003a Mon Sep 17 00:00:00 2001 +From: Carlo Landmeter <clandmeter@gmail.com> +Date: Tue, 1 Mar 2016 15:56:26 +0100 +Subject: [PATCH 6/8] Include sys/types.h in devid.h + +This is needed for musl libc +--- + 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.2 + |