1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 10:29:03 +00:00

Have it compiling on Solaris, and soon should have it working. Bwahahahahahahaha

This commit is contained in:
fyodor
2005-07-22 10:08:53 +00:00
parent 153df8bb21
commit 2b834d90d2
18 changed files with 245 additions and 229 deletions

24
nmap.h
View File

@@ -247,18 +247,18 @@ void *realloc();
#endif
/*#include <net/if_arp.h> *//* defines struct arphdr needed for if_ether.h */
#if HAVE_NET_IF_H
#ifndef NET_IF_H /* why doesn't OpenBSD do this?! */
#include <net/if.h>
#define NET_IF_H
#endif
#endif
#if HAVE_NETINET_IF_ETHER_H
#ifndef NETINET_IF_ETHER_H
#include <netinet/if_ether.h>
#define NETINET_IF_ETHER_H
#endif /* NETINET_IF_ETHER_H */
#endif /* HAVE_NETINET_IF_ETHER_H */
// #if HAVE_NET_IF_H
// #ifndef NET_IF_H /* why doesn't OpenBSD do this?! */
// #include <net/if.h>
// #define NET_IF_H
// #endif
// #endif
// #if HAVE_NETINET_IF_ETHER_H
// #ifndef NETINET_IF_ETHER_H
// #include <netinet/if_ether.h>
// #define NETINET_IF_ETHER_H
// #endif /* NETINET_IF_ETHER_H */
// #endif /* HAVE_NETINET_IF_ETHER_H */
/******* DEFINES ************/