mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Fix NetBSD compilation. These headers should really be included anyway, they
aren't just some NetBSD quirk.
This commit is contained in:
parent
963ecbb72d
commit
b7627cb96e
1 changed files with 8 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue