aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zfs-grsec/0006-Include-sys-types.h-in-devid.h.patch
blob: 9301c52f1c2aef9dcd4cc92a95783edd0309ee05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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