mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Define __APPLE_USE_RFC_3542.
Since OS X 10.7, we must declare whether we want the IPv6 sockets API to work like RFC 2292 or RFC 3542. As far as I know, we are compatible with both, so just pick the more recent one, which Apple says will become the default in the future.
This commit is contained in:
parent
6a8aebbd01
commit
66cf4fbe4a
1 changed files with 4 additions and 0 deletions
|
|
@ -87,6 +87,10 @@
|
|||
* *
|
||||
***************************************************************************/
|
||||
|
||||
/* Since OS X 10.7, we must declare whether we expect RFC 2292 or RFC 3542
|
||||
behavior from <netinet6/in6.h>. */
|
||||
#define __APPLE_USE_RFC_3542
|
||||
|
||||
#if HAVE_CONFIG_H
|
||||
#include "../nmap_config.h"
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue