1
0
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:
dmiller
2020-01-12 06:09:37 +00:00
parent ae10c8a19d
commit 30110f911e
8 changed files with 9 additions and 45 deletions

8
nmap.h
View File

@@ -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