summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/htonl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/lib/libkern/htonl.c')
-rw-r--r--sys/lib/libkern/htonl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/lib/libkern/htonl.c b/sys/lib/libkern/htonl.c
index f01cc7ef9a9..6929e7e32ac 100644
--- a/sys/lib/libkern/htonl.c
+++ b/sys/lib/libkern/htonl.c
@@ -1,8 +1,10 @@
+/* $OpenBSD: htonl.c,v 1.9 2014/12/20 18:15:29 miod Exp $ */
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
+#include <sys/types.h>
#include <sys/endian.h>
#undef htonl