Nmap Development mailing list archives
Re: [nmap-svn] r18766 - nmap/libnetutil
From: David Fifield <david () bamsoftware com>
Date: Mon, 12 Jul 2010 16:22:05 -0600
On Mon, Jul 12, 2010 at 03:01:34PM -0700, commit-mailer () insecure org wrote:
Author: kris Date: Mon Jul 12 15:01:34 2010 New Revision: 18766 Log: Fix NetBSD compilation. These headers should really be included anyway, they aren't just some NetBSD quirk. Modified: nmap/libnetutil/netutil.cc Modified: nmap/libnetutil/netutil.cc ============================================================================== --- nmap/libnetutil/netutil.cc (original) +++ nmap/libnetutil/netutil.cc Mon Jul 12 15:01:34 2010 @@ -101,8 +101,16 @@ #include <assert.h> #include <errno.h> #include <sys/types.h> +#include <sys/socket.h> #include <net/if_arp.h> +#include <netinet/in.h> + +#ifndef NETINET_IN_SYSTEM_H /* why the HELL does OpenBSD not do this? */ +#include <netinet/in_systm.h> +#define NETINET_IN_SYSTEM_H +#endif
Is there a typo there? (in_systm.) David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: [nmap-svn] r18766 - nmap/libnetutil David Fifield (Jul 12)
- Re: [nmap-svn] r18766 - nmap/libnetutil Kris Katterjohn (Jul 12)
- Re: [nmap-svn] r18766 - nmap/libnetutil David Fifield (Jul 12)
- Re: [nmap-svn] r18766 - nmap/libnetutil Fyodor (Jul 13)
- Re: [nmap-svn] r18766 - nmap/libnetutil Kris Katterjohn (Jul 12)