diff options
author | 2014-12-19 22:44:58 +0000 | |
---|---|---|
committer | 2014-12-19 22:44:58 +0000 | |
commit | 9b18ffb8507e1a97fa391314bca6471c6889ce16 (patch) | |
tree | 7e7d675e5864f50aa0c89308697c6bf6e389bdfa /sys/lib/libkern/htons.c | |
parent | sync with libc, using brnz,pt instead, should be better (diff) | |
download | wireguard-openbsd-9b18ffb8507e1a97fa391314bca6471c6889ce16.tar.xz wireguard-openbsd-9b18ffb8507e1a97fa391314bca6471c6889ce16.zip |
Use <sys/endian.h> instead of <machine/endian.h>
ok dlg@ mpi@ bcook@ millert@ miod@
Diffstat (limited to 'sys/lib/libkern/htons.c')
-rw-r--r-- | sys/lib/libkern/htons.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/lib/libkern/htons.c b/sys/lib/libkern/htons.c index 2f50d082ee3..b7907e14558 100644 --- a/sys/lib/libkern/htons.c +++ b/sys/lib/libkern/htons.c @@ -3,8 +3,7 @@ * Public domain. */ -#include <sys/types.h> -#include <machine/endian.h> +#include <sys/endian.h> #undef htons |