diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-12-20 18:15:30 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-12-20 18:15:30 +0000 |
commit | 497bd9711a92b0fcb7c1c59fc091c5ef61877017 (patch) | |
tree | 3092d12d06727a6185d80f12fa297a600be0710f /sys/lib/libkern | |
parent | 039815c6048cf3501dc7b6d8c27c994ac34941cd (diff) |
Replacing <machine/endian.h> with <sys/endian.h> does not imply removing
<sys/types.h>. kthxbye
Diffstat (limited to 'sys/lib/libkern')
-rw-r--r-- | sys/lib/libkern/htonl.c | 2 | ||||
-rw-r--r-- | sys/lib/libkern/htons.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/lib/libkern/htonl.c b/sys/lib/libkern/htonl.c index f01cc7ef9a9..6929e7e32ac 100644 --- a/sys/lib/libkern/htonl.c +++ b/sys/lib/libkern/htonl.c @@ -1,8 +1,10 @@ +/* $OpenBSD: htonl.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 htonl 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 |