summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordan Bobic <[email protected]>2016-03-15 17:17:51 +0000
committerBrian Behlendorf <[email protected]>2016-03-15 18:34:26 -0700
commitd76d9c696a79b07a4d874f20855d8828d84f03f6 (patch)
tree0a031de5b5ec13f2f6b63f9d1ebe218c496e28bf
parentc352ec27d5c5ecea8f6af066258dfd106085eaac (diff)
Fix aarch64 compilation
sys/param.h depends on types defined in sys/types.h (hrtime_t & timestruc_t). Signed-off-by: Gordan Bobic <[email protected]> Signed-off-by: Christopher J. Morrone <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #4420
-rw-r--r--lib/libspl/include/sys/types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libspl/include/sys/types.h b/lib/libspl/include/sys/types.h
index 9816345a8..25d56bed5 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>
@@ -95,4 +94,6 @@ typedef union {
} lloff_t;
#endif
+#include <sys/param.h> /* for NBBY */
+
#endif