1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Move math.h includes into .cc files

This commit is contained in:
dmiller
2015-06-23 00:09:01 +00:00
parent 6a38678b56
commit cfe8893304
5 changed files with 7 additions and 1 deletions

View File

@@ -133,6 +133,8 @@
#include "FPModel.h" #include "FPModel.h"
extern NmapOps o; extern NmapOps o;
#include <math.h>
/****************************************************************************** /******************************************************************************
* Globals. * * Globals. *

1
nmap.h
View File

@@ -233,7 +233,6 @@ void *realloc();
/* Keep assert() defined for security reasons */ /* Keep assert() defined for security reasons */
#undef NDEBUG #undef NDEBUG
#include <math.h>
#include <assert.h> #include <assert.h>
#if HAVE_SYS_RESOURCE_H #if HAVE_SYS_RESOURCE_H

View File

@@ -21,6 +21,8 @@
#include "nse_debug.h" #include "nse_debug.h"
#include "nse_lpeg.h" #include "nse_lpeg.h"
#include <math.h>
#define NSE_MAIN "NSE_MAIN" /* the main function */ #define NSE_MAIN "NSE_MAIN" /* the main function */
/* Script Scan phases */ /* Script Scan phases */

View File

@@ -136,6 +136,7 @@
#include "struct_ip.h" #include "struct_ip.h"
#include <list> #include <list>
#include <math.h>
extern NmapOps o; extern NmapOps o;

View File

@@ -130,6 +130,8 @@
#include "utils.h" #include "utils.h"
#include "xml.h" #include "xml.h"
#include <math.h>
extern NmapOps o; extern NmapOps o;
/* Call this function on a newly allocated struct timeout_info to /* Call this function on a newly allocated struct timeout_info to