From 982e08749f6414dc2f7919267e94d48980aa9c83 Mon Sep 17 00:00:00 2001 From: dmiller Date: Wed, 1 Jul 2015 04:35:27 +0000 Subject: [PATCH] Remove some unneeded includes from targets.h and nse_main.h --- nse_main.h | 1 - targets.h | 21 --------------------- 2 files changed, 22 deletions(-) diff --git a/nse_main.h b/nse_main.h index 8da19d935..d2a3eb054 100644 --- a/nse_main.h +++ b/nse_main.h @@ -4,7 +4,6 @@ #include #include #include -#include extern "C" { #include "lua.h" diff --git a/targets.h b/targets.h index 8797a839f..864120e34 100644 --- a/targets.h +++ b/targets.h @@ -126,27 +126,6 @@ #ifndef TARGETS_H #define TARGETS_H -#ifdef HAVE_CONFIG_H -#include "nmap_config.h" -#else -#ifdef WIN32 -#include "nmap_winconfig.h" -#endif /* WIN32 */ -#endif /* HAVE_CONFIG_H */ - -/* This contains pretty much everything we need ... */ -#if HAVE_SYS_TIME_H -#include -#endif - -#if HAVE_UNISTD_H -#include -#endif - -#ifdef HAVE_SYS_PARAM_H -#include /* Defines MAXHOSTNAMELEN on BSD*/ -#endif - #include "TargetGroup.h" class Target;