From d76d9c696a79b07a4d874f20855d8828d84f03f6 Mon Sep 17 00:00:00 2001 From: Gordan Bobic Date: Tue, 15 Mar 2016 17:17:51 +0000 Subject: [PATCH] Fix aarch64 compilation sys/param.h depends on types defined in sys/types.h (hrtime_t & timestruc_t). Signed-off-by: Gordan Bobic Signed-off-by: Christopher J. Morrone Signed-off-by: Brian Behlendorf Closes #4420 --- 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 9816345a8..25d56bed5 100644 --- a/lib/libspl/include/sys/types.h +++ b/lib/libspl/include/sys/types.h @@ -30,7 +30,6 @@ #include #include #include_next -#include /* for NBBY */ #include #include @@ -95,4 +94,6 @@ typedef union { } lloff_t; #endif +#include /* for NBBY */ + #endif