mirror of
https://github.com/nmap/nmap.git
synced 2025-12-23 07:59:03 +00:00
Fix NetBSD compilation. These headers should really be included anyway, they
aren't just some NetBSD quirk.
This commit is contained in:
@@ -101,8 +101,16 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
#include <net/if_arp.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
|
#if HAVE_NET_IF_H
|
||||||
#ifndef NET_IF_H /* why doesn't OpenBSD do this? */
|
#ifndef NET_IF_H /* why doesn't OpenBSD do this? */
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user