Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet Add missing ifdef IPSEC



details:   https://anonhg.NetBSD.org/src/rev/7a8fcddb415b
branches:  trunk
changeset: 337048:7a8fcddb415b
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Tue Mar 31 08:44:43 2015 +0000

description:
Add missing ifdef IPSEC

diffstat:

 sys/netinet/ip_output.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 92b3e70f4c89 -r 7a8fcddb415b sys/netinet/ip_output.c
--- a/sys/netinet/ip_output.c   Tue Mar 31 07:57:57 2015 +0000
+++ b/sys/netinet/ip_output.c   Tue Mar 31 08:44:43 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_output.c,v 1.234 2015/03/23 18:33:17 roy Exp $      */
+/*     $NetBSD: ip_output.c,v 1.235 2015/03/31 08:44:43 ozaki-r Exp $  */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.234 2015/03/23 18:33:17 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.235 2015/03/31 08:44:43 ozaki-r Exp $");
 
 #include "opt_inet.h"
 #include "opt_ipsec.h"
@@ -132,8 +132,10 @@
 #include <netinet/ip_mroute.h>
 #endif
 
+#ifdef IPSEC
 #include <netipsec/ipsec.h>
 #include <netipsec/key.h>
+#endif
 
 static int ip_pcbopts(struct inpcb *, const struct sockopt *);
 static struct mbuf *ip_insertoptions(struct mbuf *, struct mbuf *, int *);



Home | Main Index | Thread Index | Old Index