mirror of
https://github.com/nmap/nmap.git
synced 2026-01-06 14:39:03 +00:00
Add needed header checks, clean up unused ones. See #1887
This commit is contained in:
8
nmap.h
8
nmap.h
@@ -156,10 +156,6 @@
|
||||
#include <bstring.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
#include <sys/param.h> /* Defines MAXHOSTNAMELEN on BSD*/
|
||||
#endif
|
||||
|
||||
/* Keep assert() defined for security reasons */
|
||||
#undef NDEBUG
|
||||
|
||||
@@ -317,10 +313,6 @@
|
||||
wrapped. */
|
||||
#define FP_RESULT_WRAP_LINE_LEN 74
|
||||
|
||||
#ifndef MAXHOSTNAMELEN
|
||||
#define MAXHOSTNAMELEN 64
|
||||
#endif
|
||||
|
||||
/* Length of longest DNS name */
|
||||
#define FQDN_LEN 254
|
||||
|
||||
|
||||
Reference in New Issue
Block a user