Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet no need to include faith.h on non-IPv6 build, so...



details:   https://anonhg.NetBSD.org/src/rev/3c47746e7e59
branches:  trunk
changeset: 474726:3c47746e7e59
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sat Jul 17 12:53:05 1999 +0000

description:
no need to include faith.h on non-IPv6 build, so wrap by #ifdef.
(dunno if it's better to always include it or not)

diffstat:

 sys/netinet/tcp_input.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 3c638aadfc53 -r 3c47746e7e59 sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c   Sat Jul 17 07:09:40 1999 +0000
+++ b/sys/netinet/tcp_input.c   Sat Jul 17 12:53:05 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcp_input.c,v 1.87 1999/07/17 07:07:08 itojun Exp $    */
+/*     $NetBSD: tcp_input.c,v 1.88 1999/07/17 12:53:05 itojun Exp $    */
 
 /*
 %%% portions-copyright-nrl-95
@@ -175,8 +175,9 @@
 #include <netkey/key.h>
 #include <netkey/key_debug.h>
 #endif /*IPSEC*/
-
+#ifdef INET6
 #include "faith.h"
+#endif
 
 int    tcprexmtthresh = 3;
 int    tcp_log_refused;



Home | Main Index | Thread Index | Old Index