summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-12-09 06:48:53 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-12-09 06:48:53 +0000
commitd685c0cfbc03d0b96fbce4ab705ea419b088dd76 (patch)
tree3f07208bf7c34129509fe638fc553099c813860b /sys/netinet/ip_input.c
parent05f9cdae2e35578636231c7ea6b3da62121200f6 (diff)
always pull in if_types.h, to unbreak ramdisks
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 1a7b9910c41..058b2f038fa 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_input.c,v 1.345 2019/12/08 11:08:22 sashan Exp $ */
+/* $OpenBSD: ip_input.c,v 1.346 2019/12/09 06:48:52 deraadt Exp $ */
/* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */
/*
@@ -61,6 +61,7 @@
#include <netinet/in_var.h>
#include <netinet/ip_var.h>
#include <netinet/ip_icmp.h>
+#include <net/if_types.h>
#ifdef INET6
#include <netinet6/ip6protosw.h>
@@ -80,7 +81,6 @@
#endif /* IPSEC */
#if NCARP > 0
-#include <net/if_types.h>
#include <netinet/ip_carp.h>
#endif