summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2013-05-14 14:29:08 +0000
committermpi <mpi@openbsd.org>2013-05-14 14:29:08 +0000
commit44570b4462d3184f6355344f9660eabdd8234246 (patch)
treef4c1d607b38de5ad4a4e4d493956a47b7e88d3a1
parentsync sets for libc bump; broken snapshots reported by dmitry dot sensei (diff)
downloadwireguard-openbsd-44570b4462d3184f6355344f9660eabdd8234246.tar.xz
wireguard-openbsd-44570b4462d3184f6355344f9660eabdd8234246.zip
Fix build with ENCDEBUG defined.
-rw-r--r--sys/netinet/ip_ipcomp.c3
-rw-r--r--sys/netinet/ip_spd.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/ip_ipcomp.c b/sys/netinet/ip_ipcomp.c
index 3f3d1cf8758..64a57147fb0 100644
--- a/sys/netinet/ip_ipcomp.c
+++ b/sys/netinet/ip_ipcomp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipcomp.c,v 1.31 2013/04/11 12:06:25 mpi Exp $ */
+/* $OpenBSD: ip_ipcomp.c,v 1.32 2013/05/14 14:29:08 mpi Exp $ */
/*
* Copyright (c) 2001 Jean-Jacques Bernard-Gundol (jj@wabbitt.org)
@@ -43,6 +43,7 @@
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
+#include <netinet/ip_var.h>
#endif /* INET */
#ifdef INET6
diff --git a/sys/netinet/ip_spd.c b/sys/netinet/ip_spd.c
index 8d30d56784a..f563c8266a0 100644
--- a/sys/netinet/ip_spd.c
+++ b/sys/netinet/ip_spd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_spd.c,v 1.66 2013/04/11 12:06:25 mpi Exp $ */
+/* $OpenBSD: ip_spd.c,v 1.67 2013/05/14 14:29:08 mpi Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
*
@@ -38,6 +38,7 @@
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
+#include <netinet/ip_var.h>
#include <netinet/in_pcb.h>
#include <netinet/in_var.h>
#endif /* INET */