summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pf_print_state.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-21 21:50:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-21 21:50:34 +0000
commit03e064c04d932d7183d51c253f9ed4f9a0f09aff (patch)
tree0abaaec6ce9a8553d008c5c2318f36faaceb0461 /sbin/pfctl/pf_print_state.c
parent845bafcb5deb45c57feac32817a690f65de50c66 (diff)
Include <netinet/in.h> before <net/pfvar.h>. In a future change when
ports is ready, <net/pfvar.h> will stop including a pile of balony.
Diffstat (limited to 'sbin/pfctl/pf_print_state.c')
-rw-r--r--sbin/pfctl/pf_print_state.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/pfctl/pf_print_state.c b/sbin/pfctl/pf_print_state.c
index 0c00e9e3ebd..53ada038f5a 100644
--- a/sbin/pfctl/pf_print_state.c
+++ b/sbin/pfctl/pf_print_state.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_print_state.c,v 1.63 2012/08/17 20:37:16 mikeb Exp $ */
+/* $OpenBSD: pf_print_state.c,v 1.64 2015/01/21 21:50:33 deraadt Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -34,9 +34,10 @@
#include <sys/socket.h>
#include <net/if.h>
#define TCPSTATES
+#include <netinet/in.h>
#include <netinet/tcp_fsm.h>
-#include <net/pfvar.h>
#include <arpa/inet.h>
+#include <net/pfvar.h>
#include <netdb.h>
#include <stdio.h>