summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/htonl.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-12-20 18:15:29 +0000
committermiod <miod@openbsd.org>2014-12-20 18:15:29 +0000
commit1b3da2ff1df9509f0c77830deaed12854244e484 (patch)
tree782b474e0a4604eeffb79f1d4b8928b96427dc62 /sys/lib/libkern/htonl.c
parentReplace switch workq with taskq. (diff)
downloadwireguard-openbsd-1b3da2ff1df9509f0c77830deaed12854244e484.tar.xz
wireguard-openbsd-1b3da2ff1df9509f0c77830deaed12854244e484.zip
Replacing <machine/endian.h> with <sys/endian.h> does not imply removing
<sys/types.h>. kthxbye
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