diff options
author | Gordan Bobic <[email protected]> | 2016-03-15 17:17:51 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-03-15 18:34:26 -0700 |
commit | d76d9c696a79b07a4d874f20855d8828d84f03f6 (patch) | |
tree | 0a031de5b5ec13f2f6b63f9d1ebe218c496e28bf /lib/libspl | |
parent | c352ec27d5c5ecea8f6af066258dfd106085eaac (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
Diffstat (limited to 'lib/libspl')
-rw-r--r-- | lib/libspl/include/sys/types.h | 3 |
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 |