summaryrefslogtreecommitdiffstats
path: root/testing/zfs-grsec/timestruct.patch
blob: a25b41b484074ed20bf3e466c831e033c077a6dd (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
26
27
28
29
30
31
32
From 6296d14f69d42e30fff089cc865f9f1b3c13b6c3 Mon Sep 17 00:00:00 2001
From: stf <s@ctrlc.hu>
Date: Tue, 10 Jun 2014 03:37:51 +0200
Subject: [PATCH] sys/param.h depends on types defined in
 sys/types.h\n(hrtime_t & timestruc_t)

---
 lib/libspl/include/sys/types.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/libspl/include/sys/types.h b/lib/libspl/include/sys/types.h
index bd34dec..08cd0b4 100644
--- a/lib/libspl/include/sys/types.h
+++ b/lib/libspl/include/sys/types.h
@@ -30,7 +30,6 @@
 #include <sys/isa_defs.h>
 #include <sys/feature_tests.h>
 #include_next <sys/types.h>
-#include <sys/param.h> /* for NBBY */
 #include <sys/types32.h>
 #include <sys/va_list.h>
 
@@ -96,4 +95,6 @@ typedef union {
 } lloff_t;
 #endif
 
+#include <sys/param.h> /* for NBBY */
+
 #endif
-- 
1.9.3