1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-22 07:29:01 +00:00

Fix NetBSD compilation. These headers should really be included anyway, they

aren't just some NetBSD quirk.
This commit is contained in:
kris
2010-07-12 22:01:34 +00:00
parent 963ecbb72d
commit b7627cb96e

View File

@@ -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
#if HAVE_NET_IF_H
#ifndef NET_IF_H /* why doesn't OpenBSD do this? */
#include <net/if.h>