1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-28 17:19:05 +00:00

Fixed compilation problem in OpenBSD 4.7. This was reported and fixed by Lori

This commit is contained in:
luis
2010-06-28 07:44:28 +00:00
parent 4105ee3379
commit 6e0e3964bb

View File

@@ -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