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/13f6dc348c97
branches:  trunk
changeset: 995172:13f6dc348c97
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 433e93000fd6 -r 13f6dc348c97 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