summaryrefslogtreecommitdiffstats
path: root/tools/build
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-04-06 03:30:44 +0000
committerimp <imp@FreeBSD.org>2003-04-06 03:30:44 +0000
commitb7e83c7b416e2f1f5291659e8c25e5ef7d37633b (patch)
tree82052288e5e42469a1184069c5f374104252247e /tools/build
parent28332bda3be82f6d7ae9cc15649b58c6150e51c9 (diff)
downloadFreeBSD-src-b7e83c7b416e2f1f5291659e8c25e5ef7d37633b.zip
FreeBSD-src-b7e83c7b416e2f1f5291659e8c25e5ef7d37633b.tar.gz
Don't need the gccism include_next since we won't create this file
when a real sys/endian.h exists. Submitted by: ru@
Diffstat (limited to 'tools/build')
-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