aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/lib
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2020-08-07 16:03:55 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2020-08-07 16:03:55 +0000
commitec4deee4e4f2aef1b97d9424f25d04e91fd7dc10 (patch)
tree3febc852497d63cfd3b5951bb9df06bc36cc6c6d /cddl/contrib/opensolaris/lib
parent88d241831d991f7c79242bf0bfe034541d373951 (diff)
downloadsrc-ec4deee4e4f2aef1b97d9424f25d04e91fd7dc10.tar.gz
src-ec4deee4e4f2aef1b97d9424f25d04e91fd7dc10.zip
Fix cddl tools bootstrapping on macOS and Linux
Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D25979
Notes
Notes: svn path=/head/; revision=364022
Diffstat (limited to 'cddl/contrib/opensolaris/lib')
-rw-r--r--cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c b/cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c
index c35b1a526d21..f48c09cce0e2 100644
--- a/cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c
+++ b/cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c
@@ -27,6 +27,7 @@
#pragma ident "%Z%%M% %I% %E% SMI"
#include <sys/types.h>
+#include <sys/endian.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <sys/zmod.h>