mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Fixed compilation problem in OpenBSD 4.7. This was reported and fixed by Lori
This commit is contained in:
parent
4105ee3379
commit
6e0e3964bb
1 changed files with 3 additions and 0 deletions
|
|
@ -101,6 +101,8 @@
|
|||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h> /* OpenBSD sockaddr is here */
|
||||
#include <netinet/in.h> /* OpenBSD in_addr is here */
|
||||
#include <net/if_arp.h>
|
||||
|
||||
#if HAVE_NET_IF_H
|
||||
|
|
@ -110,6 +112,7 @@
|
|||
#endif
|
||||
#endif
|
||||
#ifndef NETINET_IP_H /* why does OpenBSD not do this? */
|
||||
typedef u_int32_t n_time; /* defined somewhere else, a PITA to include */
|
||||
#include <netinet/ip.h>
|
||||
#define NETINET_IP_H
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue