summaryrefslogtreecommitdiffstats
path: root/src/hooks
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2018-05-18 20:19:29 +0200
committerThomas Markwalder <tmark@isc.org>2018-05-18 20:19:29 +0200
commit5b92887e9c9e2cf436cb0bd4cf75188bb8502643 (patch)
tree520f2691ecc2ff6b5934fd2a15eff2f46de9c72a /src/hooks
parentRevert "[5521] Missing config.h includes added" (diff)
downloadkea-5b92887e9c9e2cf436cb0bd4cf75188bb8502643.tar.xz
kea-5b92887e9c9e2cf436cb0bd4cf75188bb8502643.zip
[5521] Used a different script that skips generated files
Added config.h to non-generated cc files only
Diffstat (limited to 'src/hooks')
-rw-r--r--src/hooks/dhcp/lease_cmds/lease_cmds_callouts.cc2
-rw-r--r--src/hooks/dhcp/lease_cmds/lease_cmds_log.cc2
-rw-r--r--src/hooks/dhcp/lease_cmds/tests/lease_cmds_unittest.cc2
-rw-r--r--src/hooks/dhcp/lease_cmds/tests/run_unittests.cc2
-rw-r--r--src/hooks/dhcp/stat_cmds/stat_cmds_callouts.cc2
-rw-r--r--src/hooks/dhcp/stat_cmds/stat_cmds_log.cc2
-rw-r--r--src/hooks/dhcp/stat_cmds/tests/run_unittests.cc2
-rw-r--r--src/hooks/dhcp/stat_cmds/tests/stat_cmds_unittest.cc2
8 files changed, 16 insertions, 0 deletions
diff --git a/src/hooks/dhcp/lease_cmds/lease_cmds_callouts.cc b/src/hooks/dhcp/lease_cmds/lease_cmds_callouts.cc
index 8c18da45e8..97912ce71e 100644
--- a/src/hooks/dhcp/lease_cmds/lease_cmds_callouts.cc
+++ b/src/hooks/dhcp/lease_cmds/lease_cmds_callouts.cc
@@ -8,6 +8,8 @@
// mangling that accompanies use of the C++ compiler as well as to avoid
// issues related to namespaces.
+#include <config.h>
+
#include <lease_cmds.h>
#include <lease_cmds_log.h>
#include <cc/command_interpreter.h>
diff --git a/src/hooks/dhcp/lease_cmds/lease_cmds_log.cc b/src/hooks/dhcp/lease_cmds/lease_cmds_log.cc
index 8215a6effa..7622a9c89d 100644
--- a/src/hooks/dhcp/lease_cmds/lease_cmds_log.cc
+++ b/src/hooks/dhcp/lease_cmds/lease_cmds_log.cc
@@ -4,6 +4,8 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#include <config.h>
+
#include <lease_cmds_log.h>
namespace isc {
diff --git a/src/hooks/dhcp/lease_cmds/tests/lease_cmds_unittest.cc b/src/hooks/dhcp/lease_cmds/tests/lease_cmds_unittest.cc
index 535fc9803a..04b3252695 100644
--- a/src/hooks/dhcp/lease_cmds/tests/lease_cmds_unittest.cc
+++ b/src/hooks/dhcp/lease_cmds/tests/lease_cmds_unittest.cc
@@ -4,6 +4,8 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#include <config.h>
+
#include <exceptions/exceptions.h>
#include <hooks/hooks_manager.h>
#include <config/command_mgr.h>
diff --git a/src/hooks/dhcp/lease_cmds/tests/run_unittests.cc b/src/hooks/dhcp/lease_cmds/tests/run_unittests.cc
index 600d522379..4c87f80c8a 100644
--- a/src/hooks/dhcp/lease_cmds/tests/run_unittests.cc
+++ b/src/hooks/dhcp/lease_cmds/tests/run_unittests.cc
@@ -4,6 +4,8 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#include <config.h>
+
#include <log/logger_support.h>
#include <gtest/gtest.h>
diff --git a/src/hooks/dhcp/stat_cmds/stat_cmds_callouts.cc b/src/hooks/dhcp/stat_cmds/stat_cmds_callouts.cc
index 768ff05d00..be210486e5 100644
--- a/src/hooks/dhcp/stat_cmds/stat_cmds_callouts.cc
+++ b/src/hooks/dhcp/stat_cmds/stat_cmds_callouts.cc
@@ -8,6 +8,8 @@
// mangling that accompanies use of the C++ compiler as well as to avoid
// issues related to namespaces.
+#include <config.h>
+
#include <stat_cmds.h>
#include <stat_cmds_log.h>
#include <cc/command_interpreter.h>
diff --git a/src/hooks/dhcp/stat_cmds/stat_cmds_log.cc b/src/hooks/dhcp/stat_cmds/stat_cmds_log.cc
index 8b257da7b3..1b985a6640 100644
--- a/src/hooks/dhcp/stat_cmds/stat_cmds_log.cc
+++ b/src/hooks/dhcp/stat_cmds/stat_cmds_log.cc
@@ -4,6 +4,8 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#include <config.h>
+
#include <stat_cmds_log.h>
namespace isc {
diff --git a/src/hooks/dhcp/stat_cmds/tests/run_unittests.cc b/src/hooks/dhcp/stat_cmds/tests/run_unittests.cc
index 096485fb7a..f5014ce44f 100644
--- a/src/hooks/dhcp/stat_cmds/tests/run_unittests.cc
+++ b/src/hooks/dhcp/stat_cmds/tests/run_unittests.cc
@@ -4,6 +4,8 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#include <config.h>
+
#include <log/logger_support.h>
#include <gtest/gtest.h>
diff --git a/src/hooks/dhcp/stat_cmds/tests/stat_cmds_unittest.cc b/src/hooks/dhcp/stat_cmds/tests/stat_cmds_unittest.cc
index 4e8a8a0489..46d1e54595 100644
--- a/src/hooks/dhcp/stat_cmds/tests/stat_cmds_unittest.cc
+++ b/src/hooks/dhcp/stat_cmds/tests/stat_cmds_unittest.cc
@@ -6,6 +6,8 @@
//
+#include <config.h>
+
#include <exceptions/exceptions.h>
#include <hooks/hooks_manager.h>
#include <config/command_mgr.h>