mirror of
https://github.com/nmap/nmap.git
synced 2025-12-29 10:59:02 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user