summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_esp.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-02-07 06:09:11 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-02-07 06:09:11 +0000
commit7f438dd015f361593db125e47df9be7d318a0004 (patch)
tree7f7879df742261d5203e94fe206c323380260690 /sys/netinet/ip_esp.c
parent4c56a47e2e8f387dc8a601f300b672b1619113f8 (diff)
fix include file path related to ip6.
Diffstat (limited to 'sys/netinet/ip_esp.c')
-rw-r--r--sys/netinet/ip_esp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/netinet/ip_esp.c b/sys/netinet/ip_esp.c
index e9cc0356dae..b6bf578d455 100644
--- a/sys/netinet/ip_esp.c
+++ b/sys/netinet/ip_esp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_esp.c,v 1.31 2000/01/27 08:09:09 angelos Exp $ */
+/* $OpenBSD: ip_esp.c,v 1.32 2000/02/07 06:09:09 itojun Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -62,8 +62,10 @@
#endif /* INET */
#ifdef INET6
-#include <netinet6/in6.h>
-#include <netinet6/ip6.h>
+#ifndef INET
+#include <netinet/in.h>
+#endif
+#include <netinet/ip6.h>
#endif /* INET6 */
#include <netinet/ip_ipsp.h>