aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCarlo Landmeter <[email protected]>2016-03-01 15:56:26 +0100
committerBrian Behlendorf <[email protected]>2016-03-29 18:33:17 -0700
commitfc46c795e1b5474569eab71e038dfbd03a30fc31 (patch)
treec22c9391e7b6e6312d361cf34b2063d42bd549f2 /lib
parent1c0120832c31f6424a6179e17f072612e448355b (diff)
Include sys/types.h in devid.h
This is needed for musl libc Signed-off-by: Carlo Landmeter <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #4454
Diffstat (limited to 'lib')
-rw-r--r--lib/libspl/include/devid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libspl/include/devid.h b/lib/libspl/include/devid.h
index 5406c33b5..4b346da0f 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;