diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-12-19 22:45:00 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-12-19 22:45:00 +0000 |
commit | 88183c175a3a1ea97d7a2129f42fe9c7a3ef99d6 (patch) | |
tree | 3c6584c4f92faaac23cf587c56e739c225ecf976 /sys/lib/libkern | |
parent | 5723639e3ccaa5b214ebe31dcdce31ba1cbf6bef (diff) |
Use <sys/endian.h> instead of <machine/endian.h>
ok dlg@ mpi@ bcook@ millert@ miod@
Diffstat (limited to 'sys/lib/libkern')
-rw-r--r-- | sys/lib/libkern/htonl.c | 3 | ||||
-rw-r--r-- | sys/lib/libkern/htons.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/lib/libkern/htonl.c b/sys/lib/libkern/htonl.c index 5b3a26ad479..f01cc7ef9a9 100644 --- a/sys/lib/libkern/htonl.c +++ b/sys/lib/libkern/htonl.c @@ -3,8 +3,7 @@ * Public domain. */ -#include <sys/types.h> -#include <machine/endian.h> +#include <sys/endian.h> #undef htonl 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 |