From 1aad4689babec28f47b99666b303ab8bfffc3106 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Fri, 7 Dec 2012 17:51:21 +0100 Subject: use config_xxx.h files instead of -DHAVE_XXX on the command line As the latter does not quite scale, and also source files depending on the setting/feature did not rebuild in case of a change. There are intentionally more config_xxx.h files (so autoheader from autotools is not used), so that a setting change does not force automatically a rebuild of everything. Running configure does not touch those config_xxx.h files that have not changed. There's config/README with a howto. Change-Id: I6d6e82050ff8faf5364ed246848b8401aca3e0e5 --- cui/source/options/optgdlg.cxx | 2 ++ cui/source/options/optmemory.cxx | 2 ++ 2 files changed, 4 insertions(+) (limited to 'cui/source/options') diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 098b550982c7..8f8e664b59bb 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -89,6 +89,8 @@ #include #include +#include + using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::beans; diff --git a/cui/source/options/optmemory.cxx b/cui/source/options/optmemory.cxx index 9fd2c2b04062..e5c43f79cf11 100644 --- a/cui/source/options/optmemory.cxx +++ b/cui/source/options/optmemory.cxx @@ -59,6 +59,8 @@ #include "helpid.hrc" #include +#include + using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::beans; -- cgit v1.2.3