Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet6 need <sys/endian.h> (or arpa/inet.h) for ntohl(...



details:   https://anonhg.NetBSD.org/src/rev/4734f4e54ae3
branches:  trunk
changeset: 446554:4734f4e54ae3
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Dec 10 16:28:52 2018 +0000

description:
need <sys/endian.h> (or arpa/inet.h) for ntohl() used in macros.

diffstat:

 sys/netinet6/in6.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 750ae1dde507 -r 4734f4e54ae3 sys/netinet6/in6.h
--- a/sys/netinet6/in6.h        Mon Dec 10 15:22:35 2018 +0000
+++ b/sys/netinet6/in6.h        Mon Dec 10 16:28:52 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in6.h,v 1.93 2018/08/22 01:05:24 msaitoh Exp $ */
+/*     $NetBSD: in6.h,v 1.94 2018/12/10 16:28:52 christos Exp $        */
 /*     $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $    */
 
 /*
@@ -71,6 +71,7 @@
 #endif
 
 #include <sys/socket.h>
+#include <sys/endian.h>                /* ntohl */
 
 /*
  * Identification of the network protocol stack



Home | Main Index | Thread Index | Old Index