summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/ntohl.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-07-21 01:51:10 +0000
committerguenther <guenther@openbsd.org>2014-07-21 01:51:10 +0000
commitbe9b70502a319be1934f8cfd5be7f470be741ce6 (patch)
treecd6b19aae8d5ed5b62dea268c748e3a6bbb05279 /lib/libc/net/ntohl.c
parentsync (diff)
downloadwireguard-openbsd-be9b70502a319be1934f8cfd5be7f470be741ce6.tar.xz
wireguard-openbsd-be9b70502a319be1934f8cfd5be7f470be741ce6.zip
Switch from <sys/endian.h> or <machine/endian.h> to the new,
being-standardized <endian.h> ok deraadt@ millert@ beck@
Diffstat (limited to 'lib/libc/net/ntohl.c')
-rw-r--r--lib/libc/net/ntohl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/ntohl.c b/lib/libc/net/ntohl.c
index 36414b7a132..0d05bac78a1 100644
--- a/lib/libc/net/ntohl.c
+++ b/lib/libc/net/ntohl.c
@@ -1,11 +1,11 @@
-/* $OpenBSD: ntohl.c,v 1.6 2005/08/06 20:30:03 espie Exp $ */
+/* $OpenBSD: ntohl.c,v 1.7 2014/07/21 01:51:10 guenther Exp $ */
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <sys/types.h>
-#include <machine/endian.h>
+#include <endian.h>
#undef ntohl