diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-01-21 21:50:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-01-21 21:50:34 +0000 |
commit | 03e064c04d932d7183d51c253f9ed4f9a0f09aff (patch) | |
tree | 0abaaec6ce9a8553d008c5c2318f36faaceb0461 /usr.sbin/snmpd/pf.c | |
parent | 845bafcb5deb45c57feac32817a690f65de50c66 (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 'usr.sbin/snmpd/pf.c')
-rw-r--r-- | usr.sbin/snmpd/pf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/snmpd/pf.c b/usr.sbin/snmpd/pf.c index 4cdc82e1164..5421583f223 100644 --- a/usr.sbin/snmpd/pf.c +++ b/usr.sbin/snmpd/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.8 2015/01/16 00:05:13 deraadt Exp $ */ +/* $OpenBSD: pf.c,v 1.9 2015/01/21 21:50:33 deraadt Exp $ */ /* * Copyright (c) 2012 Joel Knight <joel@openbsd.org> @@ -35,9 +35,10 @@ #include <sys/socket.h> #include <sys/ioctl.h> +#include <netinet/in.h> +#include <arpa/inet.h> #include <net/if.h> #include <net/pfvar.h> -#include <arpa/inet.h> #include <err.h> #include <errno.h> |