Skip to content

Commit

Permalink
Fix aarch64 compilation
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Gordan Bobic authored and behlendorf committed Mar 16, 2016
1 parent c352ec2 commit d76d9c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/libspl/include/sys/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down Expand Up @@ -95,4 +94,6 @@ typedef union {
} lloff_t;
#endif

#include <sys/param.h> /* for NBBY */

#endif

0 comments on commit d76d9c6

Please sign in to comment.