summaryrefslogtreecommitdiffstats
path: root/src/knemod/backends/daemonregistry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/knemod/backends/daemonregistry.h')
-rw-r--r--src/knemod/backends/daemonregistry.h6
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 }
};