summaryrefslogtreecommitdiffstats
path: root/sys/cddl/boot
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-05-13 11:15:33 +0000
committerngie <ngie@FreeBSD.org>2016-05-13 11:15:33 +0000
commitd52ef4d2db8cf078bcb3f46a15acd3046bfed078 (patch)
treede81110ff9491a3f70cc6af4c37a7f4c5d62803f /sys/cddl/boot
parentc4e3a7ca2381b736472c4ea1c8d178a993b92a80 (diff)
downloadFreeBSD-src-d52ef4d2db8cf078bcb3f46a15acd3046bfed078.zip
FreeBSD-src-d52ef4d2db8cf078bcb3f46a15acd3046bfed078.tar.gz
Include arpa/inet.h to get the htonl(3) definition
MFC after: 2 weeks Reported by: clang Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/cddl/boot')
-rw-r--r--sys/cddl/boot/zfs/lz4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/cddl/boot/zfs/lz4.c b/sys/cddl/boot/zfs/lz4.c
index c29f861..b12122c 100644
--- a/sys/cddl/boot/zfs/lz4.c
+++ b/sys/cddl/boot/zfs/lz4.c
@@ -34,6 +34,8 @@
* $FreeBSD$
*/
+#include <arpa/inet.h>
+
static int LZ4_uncompress_unknownOutputSize(const char *source, char *dest,
int isize, int maxOutputSize);
OpenPOWER on IntegriCloud