summaryrefslogtreecommitdiffstats
path: root/sys/sys/bitstring.h
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2016-05-24 00:14:58 +0000
committerasomers <asomers@FreeBSD.org>2016-05-24 00:14:58 +0000
commit69a8601e63c4e7e77f91dcf55e2456972c53d030 (patch)
treea57f8314e8aa5da200052f99dc85a63d95308f67 /sys/sys/bitstring.h
parent63911f45771c4b025ae6817a985915a78927b27c (diff)
downloadFreeBSD-src-69a8601e63c4e7e77f91dcf55e2456972c53d030.zip
FreeBSD-src-69a8601e63c4e7e77f91dcf55e2456972c53d030.tar.gz
Fix build of kern/subr_unit.c, broken by r300539
Reported by: peter Pointyhat to: asomers Sponsored by: Spectra Logic Corp
Diffstat (limited to 'sys/sys/bitstring.h')
-rw-r--r--sys/sys/bitstring.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/bitstring.h b/sys/sys/bitstring.h
index 9659dba..fa0ee19 100644
--- a/sys/sys/bitstring.h
+++ b/sys/sys/bitstring.h
@@ -65,9 +65,10 @@
#ifdef _KERNEL
#include <sys/libkern.h>
#include <sys/malloc.h>
-#include <sys/types.h>
#endif
+#include <sys/types.h>
+
typedef unsigned long bitstr_t;
/*---------------------- Private Implementation Details ----------------------*/
OpenPOWER on IntegriCloud