1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-26 01:19:03 +00:00

Include netutil.h for IPPROTO_SCTP constant where necessary. Fixes #868

This commit is contained in:
dmiller
2017-04-26 18:55:16 +00:00
parent c324237cf0
commit ab5e247cee
9 changed files with 33 additions and 5 deletions

5
nmap.h
View File

@@ -166,11 +166,6 @@
#include <sys/param.h> /* Defines MAXHOSTNAMELEN on BSD*/
#endif
/* For systems without SCTP in netinet/in.h, such as MacOS X */
#ifndef IPPROTO_SCTP
#define IPPROTO_SCTP 132
#endif
/* Keep assert() defined for security reasons */
#undef NDEBUG