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 --- extensions/source/plugin/inc/plugin/unx/plugcon.hxx | 2 ++ extensions/source/plugin/unx/npnapi.cxx | 2 ++ extensions/source/plugin/unx/npwrap.cxx | 2 ++ 3 files changed, 6 insertions(+) (limited to 'extensions/source') diff --git a/extensions/source/plugin/inc/plugin/unx/plugcon.hxx b/extensions/source/plugin/inc/plugin/unx/plugcon.hxx index 8c7175f99e6b..cdb8b39f445f 100644 --- a/extensions/source/plugin/inc/plugin/unx/plugcon.hxx +++ b/extensions/source/plugin/inc/plugin/unx/plugcon.hxx @@ -92,6 +92,8 @@ extern "C" { #endif #endif +#include + #ifdef ENABLE_GTK #include #include diff --git a/extensions/source/plugin/unx/npnapi.cxx b/extensions/source/plugin/unx/npnapi.cxx index 21591923f293..bfc6fa16cdab 100644 --- a/extensions/source/plugin/unx/npnapi.cxx +++ b/extensions/source/plugin/unx/npnapi.cxx @@ -40,6 +40,8 @@ #include +#include + extern PluginConnector* pConnector; extern XtAppContext app_context; extern int wakeup_fd[]; diff --git a/extensions/source/plugin/unx/npwrap.cxx b/extensions/source/plugin/unx/npwrap.cxx index b2cd5324c19a..8229abb6812f 100644 --- a/extensions/source/plugin/unx/npwrap.cxx +++ b/extensions/source/plugin/unx/npwrap.cxx @@ -44,6 +44,8 @@ #include #include +#include + PluginConnector* pConnector = NULL; int nAppArguments = 0; -- cgit