Nmap Development mailing list archives

Re: [nmap-svn] r18766 - nmap/libnetutil


From: David Fifield <david () bamsoftware com>
Date: Mon, 12 Jul 2010 16:49:23 -0600

On Mon, Jul 12, 2010 at 05:38:17PM -0500, Kris Katterjohn wrote:
David Fifield <david () bamsoftware com> wrote:
On Mon, Jul 12, 2010 at 03:01:34PM -0700, commit-mailer () insecure org
wrote:
+#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.)


Actually, no.  The header file name contains "systm" but the macro
definition there contains the full "SYSTEM".  I basically copied that
block from tcpip.h.  It's on my Linux and NetBSD installs, and I've
just assumed elsewhere.

Hmm, okay. I didn't know that.

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: