Strip redundant includes

In particular, <boost/program_options.hpp> blows up daemon.cpp.obj,
making it too big to compile in debug mode on Win32. Even on a
release build it drops daemon.cpp.o on Linux from 31MB to 20MB.
This has no effect on the final linked binary size.
This commit is contained in:
hyc 2015-12-21 16:21:50 +00:00 committed by Howard Chu
parent 0576ff42b5
commit 9428d53d6f
8 changed files with 4 additions and 24 deletions

View file

@ -27,8 +27,6 @@
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma once
#include <memory>
#include <boost/program_options.hpp>
namespace daemonize {