diff options
author | gregory guy <[email protected]> | 2021-07-14 12:50:17 +0200 |
---|---|---|
committer | gregory guy <[email protected]> | 2021-07-19 14:17:02 +0200 |
commit | b4149315024044440d69dbe9a4961ffb6e45989f (patch) | |
tree | e46e9de0e581189f0106593c4d86b61e40d921cf /src/knemod/backends/daemonregistry.h | |
parent | defa7b64d793db74f47a706cb2565684f9577104 (diff) | |
download | knemo-b4149315024044440d69dbe9a4961ffb6e45989f.tar.gz knemo-b4149315024044440d69dbe9a4961ffb6e45989f.zip |
Make the Nettools backend optional.
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'src/knemod/backends/daemonregistry.h')
-rw-r--r-- | src/knemod/backends/daemonregistry.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/knemod/backends/daemonregistry.h b/src/knemod/backends/daemonregistry.h index 26af5ae..d3ec3b9 100644 --- a/src/knemod/backends/daemonregistry.h +++ b/src/knemod/backends/daemonregistry.h @@ -20,6 +20,10 @@ #ifndef DAEMONREGISTRY_H #define DAEMONREGISTRY_H +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <tqstring.h> #include <tdelocale.h> @@ -47,7 +51,9 @@ struct DaemonRegistryEntry DaemonRegistryEntry DaemonRegistry[] = { { "Sys", SysBackend::createInstance }, +#if defined( WITH_NETTOOLS ) { "Nettools", NetToolsBackend::createInstance }, +#endif { TQString(), 0 } }; |