diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1996-12-10 17:11:53 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1996-12-10 17:11:53 +0000 |
commit | 628d2ac1b093f48f6fb98b17308acacc929876d8 (patch) | |
tree | 1bb2cd09b3e27a462e04923aa2922608ee5ea899 /sbin/ipfw | |
parent | fc43f97826e798ad4e3534b59f3b8d3aac1c4abe (diff) | |
download | src-628d2ac1b093f48f6fb98b17308acacc929876d8.tar.gz src-628d2ac1b093f48f6fb98b17308acacc929876d8.zip |
Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
do it themselves. (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!) Also fix up some
other #include messes while we're at it.
Notes
Notes:
svn path=/head/; revision=20287
Diffstat (limited to 'sbin/ipfw')
-rw-r--r-- | sbin/ipfw/ipfw.c | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/sbin/ipfw/ipfw.c b/sbin/ipfw/ipfw.c index b97d38f8ba96..7487b21dbd8d 100644 --- a/sbin/ipfw/ipfw.c +++ b/sbin/ipfw/ipfw.c @@ -16,22 +16,26 @@ * * NEW command line interface for IP firewall facility * - * $Id: ipfw.c,v 1.33 1996/08/31 17:58:23 nate Exp $ + * $Id: ipfw.c,v 1.34 1996/10/17 01:05:03 alex Exp $ * */ -#include <stdio.h> +#include <sys/types.h> +#include <sys/queue.h> +#include <sys/socket.h> +#include <sys/sockio.h> +#include <sys/time.h> + #include <ctype.h> #include <err.h> -#include <unistd.h> -#include <string.h> -#include <stdlib.h> -#include <netdb.h> #include <limits.h> +#include <netdb.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> #include <time.h> -#include <sys/queue.h> -#include <sys/socket.h> -#include <sys/sockio.h> +#include <unistd.h> + #include <net/if.h> #include <netinet/in.h> #include <netinet/ip_fw.h> |