diff options
author | 2014-12-20 18:15:29 +0000 | |
---|---|---|
committer | 2014-12-20 18:15:29 +0000 | |
commit | 1b3da2ff1df9509f0c77830deaed12854244e484 (patch) | |
tree | 782b474e0a4604eeffb79f1d4b8928b96427dc62 /sys/lib/libkern/htons.c | |
parent | Replace switch workq with taskq. (diff) | |
download | wireguard-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/htons.c')
-rw-r--r-- | sys/lib/libkern/htons.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/lib/libkern/htons.c b/sys/lib/libkern/htons.c index b7907e14558..714eb37c1f0 100644 --- a/sys/lib/libkern/htons.c +++ b/sys/lib/libkern/htons.c @@ -1,8 +1,10 @@ +/* $OpenBSD: htons.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 htons |