From c2430126d75318508836a24f90d3524320190465 Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Thu, 25 Feb 2010 21:55:27 +0000 Subject: GUI-less build target bitcoind that links to wxBase and shouldn't need GTK, split init and shutdown from ui.cpp into init.cpp, support wxUSE_GUI=0 -- version 0.2.7 git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@71 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- headers.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'headers.h') diff --git a/headers.h b/headers.h index 7fb227ec4..3c8d32cad 100644 --- a/headers.h +++ b/headers.h @@ -21,9 +21,11 @@ #include #include #include -#include #include #include +#if wxUSE_GUI +#include +#endif #include #include #include @@ -100,8 +102,11 @@ using namespace boost; #include "irc.h" #include "main.h" #include "rpc.h" +#if wxUSE_GUI #include "uibase.h" +#endif #include "ui.h" +#include "init.h" #include "xpm/addressbook16.xpm" #include "xpm/addressbook20.xpm" -- cgit v1.2.3