diff options
author | wollman <wollman@FreeBSD.org> | 1996-12-10 17:11:53 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1996-12-10 17:11:53 +0000 |
commit | d3ecee07b35f58cb9d8e5e3c25e923af0c1c5056 (patch) | |
tree | 1bb2cd09b3e27a462e04923aa2922608ee5ea899 /usr.sbin/portmap | |
parent | 3f5b5465d429055a8f42863b35d3d19ec28dcd9b (diff) | |
download | FreeBSD-src-d3ecee07b35f58cb9d8e5e3c25e923af0c1c5056.zip FreeBSD-src-d3ecee07b35f58cb9d8e5e3c25e923af0c1c5056.tar.gz |
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.
Diffstat (limited to 'usr.sbin/portmap')
-rw-r--r-- | usr.sbin/portmap/from_local.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/portmap/from_local.c b/usr.sbin/portmap/from_local.c index 9daacba..c1d1570 100644 --- a/usr.sbin/portmap/from_local.c +++ b/usr.sbin/portmap/from_local.c @@ -44,13 +44,16 @@ static char sccsid[] = "@(#) from_local.c 1.2 93/11/16 21:50:02"; #endif #include <sys/types.h> +#include <sys/ioctl.h> #include <sys/socket.h> +#include <sys/time.h> + #include <netdb.h> -#include <netinet/in.h> -#include <net/if.h> -#include <sys/ioctl.h> #include <syslog.h> +#include <net/if.h> +#include <netinet/in.h> + #ifndef TRUE #define TRUE 1 #define FALSE 0 |