aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/p2p.h
diff options
context:
space:
mode:
authorhyc <hyc@symas.com>2015-12-21 16:21:50 +0000
committerHoward Chu <hyc@symas.com>2015-12-21 16:23:59 +0000
commit9428d53d6f9bb4a269579cfbdc993e270726bdd4 (patch)
tree79d20217fbd6c307bdd8fdc15be421c3d883e52c /src/daemon/p2p.h
parentMerge pull request #540 (diff)
downloadmonero-9428d53d6f9bb4a269579cfbdc993e270726bdd4.tar.xz
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.
Diffstat (limited to 'src/daemon/p2p.h')
-rw-r--r--src/daemon/p2p.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/daemon/p2p.h b/src/daemon/p2p.h
index e1a4d38ee..7e91ef08d 100644
--- a/src/daemon/p2p.h
+++ b/src/daemon/p2p.h
@@ -31,11 +31,8 @@
#pragma once
#include "cryptonote_protocol/cryptonote_protocol_handler.h"
-#include "daemon/protocol.h"
-#include "misc_log_ex.h"
#include "p2p/net_node.h"
-#include <stdexcept>
-#include <boost/program_options.hpp>
+#include "daemon/protocol.h"
namespace daemonize
{