summaryrefslogtreecommitdiff
path: root/lib/libc/net/htonl.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/htonl.c')
-rw-r--r--lib/libc/net/htonl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/htonl.c b/lib/libc/net/htonl.c
index 5ab4189597c..6ee6e7efbf3 100644
--- a/lib/libc/net/htonl.c
+++ b/lib/libc/net/htonl.c
@@ -1,11 +1,11 @@
-/* $OpenBSD: htonl.c,v 1.6 2005/08/06 20:30:03 espie Exp $ */
+/* $OpenBSD: htonl.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 htonl