summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/build/endian.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/build/endian.h b/tools/build/endian.h
index dbec545..bde044e 100644
--- a/tools/build/endian.h
+++ b/tools/build/endian.h
@@ -2,11 +2,7 @@
* $FreeBSD$
*/
-#include <sys/param.h>
-
-#if __FreeBSD_version >= 500034
-#include_next <sys/endian.h>
-#else
+#include <sys/types.h>
#include <machine/endian.h>
#define bswap16(x) (uint16_t) \
@@ -54,4 +50,3 @@
#define le32toh(x) bswap32((uint32_t)(x))
#define le64toh(x) bswap64((uint64_t)(x))
#endif /* _BYTE_ORDER == _LITTLE_ENDIAN */
-#endif
OpenPOWER on IntegriCloud