Repository :
http://git.fedorahosted.org/cgit/firewalld-recode.git
On branch : master
---------------------------------------------------------------
commit bfad9495694b2b57d6c686b0de178cba35fece84
Author: Daniel Kopecek <dkopecek(a)redhat.com>
Date: Mon Dec 8 15:16:45 2014 +0100
Include build-config.h from all source files
---------------------------------------------------------------
configure.ac | 2 +-
src/Common/Logging.cpp | 2 ++
src/Common/Logging.hpp | 1 +
src/Common/Types.hpp | 1 +
src/Common/Utility.cpp | 2 ++
src/Common/Utility.hpp | 1 +
src/Common/XMLStorage.cpp | 2 ++
src/Common/XMLStorage.hpp | 1 +
src/Common/glibmm_ext.cpp | 2 ++
src/Common/glibmm_ext.hpp | 1 +
src/Daemon/Backends/Linux/EBTables.cpp | 2 ++
src/Daemon/Backends/Linux/EBTables.hpp | 1 +
src/Daemon/Backends/Linux/IPTables.cpp | 2 ++
src/Daemon/Backends/Linux/IPTables.hpp | 1 +
src/Daemon/Backends/Linux/KernelModule.cpp | 2 ++
src/Daemon/Backends/Linux/KernelModule.hpp | 1 +
src/Daemon/Backends/Linux/Sysctl.cpp | 2 ++
src/Daemon/Backends/Linux/Sysctl.hpp | 1 +
src/Daemon/Backends/Linux/XTables.cpp | 2 ++
src/Daemon/Backends/Linux/XTables.hpp | 1 +
src/Daemon/Backends/LinuxXTables.cpp | 2 ++
src/Daemon/Backends/LinuxXTables.hpp | 1 +
src/Daemon/CLI.cpp | 2 ++
src/Daemon/CLI.hpp | 2 ++
src/Daemon/DBus.cpp | 2 ++
src/Daemon/DBus.hpp | 1 +
src/Daemon/Exceptions.hpp | 1 +
src/Daemon/Firewall/Backend.cpp | 2 ++
src/Daemon/Firewall/Backend.hpp | 1 +
src/Daemon/Firewall/BackendOpTable.hpp | 1 +
src/Daemon/Firewall/Firewall.cpp | 2 ++
src/Daemon/Firewall/Firewall.hpp | 1 +
src/Daemon/Firewall/FirewallObject.hpp | 1 +
src/Daemon/Firewall/ICMPType.cpp | 2 ++
src/Daemon/Firewall/ICMPType.hpp | 1 +
src/Daemon/Firewall/IPAddress.cpp | 2 ++
src/Daemon/Firewall/IPAddress.hpp | 1 +
src/Daemon/Firewall/Interface.cpp | 2 ++
src/Daemon/Firewall/Interface.hpp | 1 +
src/Daemon/Firewall/Port.cpp | 2 ++
src/Daemon/Firewall/Port.hpp | 1 +
src/Daemon/Firewall/PortForward.cpp | 2 ++
src/Daemon/Firewall/PortForward.hpp | 1 +
src/Daemon/Firewall/RichLanguageParser/Lexer.qx | 4 ++++
src/Daemon/Firewall/RichLanguageParser/Parser.y | 2 ++
src/Daemon/Firewall/RichRule.cpp | 2 ++
src/Daemon/Firewall/RichRule.hpp | 1 +
src/Daemon/Firewall/RichRuleParser.cpp | 3 ++-
src/Daemon/Firewall/RichRuleParser.hpp | 1 +
src/Daemon/Firewall/RichRules/ForwardPortRule.cpp | 2 ++
src/Daemon/Firewall/RichRules/ForwardPortRule.hpp | 1 +
src/Daemon/Firewall/RichRules/ICMPBlockRule.cpp | 2 ++
src/Daemon/Firewall/RichRules/ICMPBlockRule.hpp | 1 +
src/Daemon/Firewall/RichRules/MasqueradeRule.cpp | 2 ++
src/Daemon/Firewall/RichRules/MasqueradeRule.hpp | 1 +
src/Daemon/Firewall/RichRules/PortRule.cpp | 2 ++
src/Daemon/Firewall/RichRules/PortRule.hpp | 1 +
src/Daemon/Firewall/RichRules/ProtocolRule.cpp | 2 ++
src/Daemon/Firewall/RichRules/ProtocolRule.hpp | 1 +
src/Daemon/Firewall/RichRules/ServiceRule.cpp | 2 ++
src/Daemon/Firewall/RichRules/ServiceRule.hpp | 1 +
src/Daemon/Firewall/Service.cpp | 2 ++
src/Daemon/Firewall/Service.hpp | 1 +
src/Daemon/Firewall/Source.cpp | 2 ++
src/Daemon/Firewall/Source.hpp | 1 +
src/Daemon/Firewall/Transaction.cpp | 2 ++
src/Daemon/Firewall/Transaction.hpp | 1 +
src/Daemon/Firewall/Zone.cpp | 2 ++
src/Daemon/Firewall/Zone.hpp | 1 +
src/Daemon/Firewall/ZoneObject.hpp | 1 +
src/Daemon/FirewallD.cpp | 2 ++
src/Daemon/FirewallD.hpp | 1 +
src/Daemon/GlobalVariables.hpp | 1 +
src/Daemon/LockdownWhitelist.cpp | 2 ++
src/Daemon/LockdownWhitelist.hpp | 1 +
src/Daemon/SignalHandler.cpp | 2 ++
src/Daemon/SignalHandler.hpp | 1 +
src/Daemon/main.cpp | 2 ++
78 files changed, 118 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index ae7f3cc..3693305 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
AC_PREREQ([2.69])
AC_INIT([firewalld], [0.0], [bugs(a)firewalld.org])
AC_CONFIG_SRCDIR([src/])
-AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_HEADERS([src/build-config.h])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([config])
diff --git a/src/Common/Logging.cpp b/src/Common/Logging.cpp
index 76a0ec9..2edc850 100644
--- a/src/Common/Logging.cpp
+++ b/src/Common/Logging.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Common/Logging.hpp"
namespace firewalld
diff --git a/src/Common/Logging.hpp b/src/Common/Logging.hpp
index b48aaac..0e19742 100644
--- a/src/Common/Logging.hpp
+++ b/src/Common/Logging.hpp
@@ -18,6 +18,7 @@
//
#ifndef _FIREWALLD_LOGGING_H_
#define _FIREWALLD_LOGGING_H_
+#include <build-config.h>
/**
* EasyLogging compile time options.
diff --git a/src/Common/Types.hpp b/src/Common/Types.hpp
index 0d06762..bdd1401 100644
--- a/src/Common/Types.hpp
+++ b/src/Common/Types.hpp
@@ -18,6 +18,7 @@
//
#ifndef _FIREWALLD_TYPES_H_
#define _FIREWALLD_TYPES_H_
+#include <build-config.h>
#include <glibmm.h>
#include <string.h>
diff --git a/src/Common/Utility.cpp b/src/Common/Utility.cpp
index 9cf263f..83c5343 100644
--- a/src/Common/Utility.cpp
+++ b/src/Common/Utility.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Common/Utility.hpp"
#include "Common/Logging.hpp"
diff --git a/src/Common/Utility.hpp b/src/Common/Utility.hpp
index cbbf720..dd12b64 100644
--- a/src/Common/Utility.hpp
+++ b/src/Common/Utility.hpp
@@ -18,6 +18,7 @@
//
#ifndef _UTILITY_H_
#define _UTILITY_H_
+#include <build-config.h>
#include "Common/Types.hpp"
#include "Common/Logging.hpp"
diff --git a/src/Common/XMLStorage.cpp b/src/Common/XMLStorage.cpp
index c5d922c..e08ecb6 100644
--- a/src/Common/XMLStorage.cpp
+++ b/src/Common/XMLStorage.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Common/XMLStorage.hpp"
#include <expat.h>
diff --git a/src/Common/XMLStorage.hpp b/src/Common/XMLStorage.hpp
index 1ddcaac..09f44f9 100644
--- a/src/Common/XMLStorage.hpp
+++ b/src/Common/XMLStorage.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_XMLSTORAGE_HPP
#define FIREWALLD_XMLSTORAGE_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
diff --git a/src/Common/glibmm_ext.cpp b/src/Common/glibmm_ext.cpp
index 8d9cc53..ccd7c36 100644
--- a/src/Common/glibmm_ext.cpp
+++ b/src/Common/glibmm_ext.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Common/glibmm_ext.hpp"
#include "Common/Types.hpp"
diff --git a/src/Common/glibmm_ext.hpp b/src/Common/glibmm_ext.hpp
index 029551c..c6f5592 100644
--- a/src/Common/glibmm_ext.hpp
+++ b/src/Common/glibmm_ext.hpp
@@ -18,6 +18,7 @@
//
#ifndef _GLIBMM_EXT_H_
#define _GLIBMM_EXT_H_
+#include <build-config.h>
#include "Common/Types.hpp"
#include <glibmm.h>
diff --git a/src/Daemon/Backends/Linux/EBTables.cpp
b/src/Daemon/Backends/Linux/EBTables.cpp
index c00ab5b..975666a 100644
--- a/src/Daemon/Backends/Linux/EBTables.cpp
+++ b/src/Daemon/Backends/Linux/EBTables.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Daemon/Backends/Linux/EBTables.hpp"
#include "Daemon/Backends/Linux/XTables.hpp"
#include "Common/Utility.hpp"
diff --git a/src/Daemon/Backends/Linux/EBTables.hpp
b/src/Daemon/Backends/Linux/EBTables.hpp
index 1398ab4..bc99f2b 100644
--- a/src/Daemon/Backends/Linux/EBTables.hpp
+++ b/src/Daemon/Backends/Linux/EBTables.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_EBTABLES_HPP
#define FIREWALLD_EBTABLES_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
#include "Daemon/Backends/Linux/XTables.hpp"
diff --git a/src/Daemon/Backends/Linux/IPTables.cpp
b/src/Daemon/Backends/Linux/IPTables.cpp
index 677441e..76c45c6 100644
--- a/src/Daemon/Backends/Linux/IPTables.cpp
+++ b/src/Daemon/Backends/Linux/IPTables.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Daemon/Backends/Linux/IPTables.hpp"
#include "Daemon/Backends/Linux/XTables.hpp"
#include "Common/Utility.hpp"
diff --git a/src/Daemon/Backends/Linux/IPTables.hpp
b/src/Daemon/Backends/Linux/IPTables.hpp
index abd9593..223ef3e 100644
--- a/src/Daemon/Backends/Linux/IPTables.hpp
+++ b/src/Daemon/Backends/Linux/IPTables.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_IPTABLES_HPP
#define FIREWALLD_IPTABLES_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
#include "Daemon/Backends/Linux/XTables.hpp"
diff --git a/src/Daemon/Backends/Linux/KernelModule.cpp
b/src/Daemon/Backends/Linux/KernelModule.cpp
index 3d38df5..0d348c6 100644
--- a/src/Daemon/Backends/Linux/KernelModule.cpp
+++ b/src/Daemon/Backends/Linux/KernelModule.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Common/Logging.hpp"
#include "Daemon/Backends/Linux/KernelModule.hpp"
#include "Common/Utility.hpp"
diff --git a/src/Daemon/Backends/Linux/KernelModule.hpp
b/src/Daemon/Backends/Linux/KernelModule.hpp
index 481f42d..2853845 100644
--- a/src/Daemon/Backends/Linux/KernelModule.hpp
+++ b/src/Daemon/Backends/Linux/KernelModule.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_KERNELMODULE_HPP
#define FIREWALLD_KERNELMODULE_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
#include <regex.h>
diff --git a/src/Daemon/Backends/Linux/Sysctl.cpp b/src/Daemon/Backends/Linux/Sysctl.cpp
index 16906af..4553303 100644
--- a/src/Daemon/Backends/Linux/Sysctl.cpp
+++ b/src/Daemon/Backends/Linux/Sysctl.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Daemon/Backends/Linux/Sysctl.hpp"
#include "Common/Logging.hpp"
diff --git a/src/Daemon/Backends/Linux/Sysctl.hpp b/src/Daemon/Backends/Linux/Sysctl.hpp
index 437be95..3f987e5 100644
--- a/src/Daemon/Backends/Linux/Sysctl.hpp
+++ b/src/Daemon/Backends/Linux/Sysctl.hpp
@@ -18,6 +18,7 @@
//
#ifndef _FIREWALLD_SYSCTL_HPP_
#define _FIREWALLD_SYSCTL_HPP_
+#include <build-config.h>
#include "Common/Types.hpp"
diff --git a/src/Daemon/Backends/Linux/XTables.cpp
b/src/Daemon/Backends/Linux/XTables.cpp
index 8cfc1b3..a375f3b 100644
--- a/src/Daemon/Backends/Linux/XTables.cpp
+++ b/src/Daemon/Backends/Linux/XTables.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Daemon/Backends/Linux/XTables.hpp"
#include "Common/Types.hpp"
#include "Common/Logging.hpp"
diff --git a/src/Daemon/Backends/Linux/XTables.hpp
b/src/Daemon/Backends/Linux/XTables.hpp
index 1c9a428..075804a 100644
--- a/src/Daemon/Backends/Linux/XTables.hpp
+++ b/src/Daemon/Backends/Linux/XTables.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_XTABLES_HPP
#define FIREWALLD_XTABLES_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
diff --git a/src/Daemon/Backends/LinuxXTables.cpp b/src/Daemon/Backends/LinuxXTables.cpp
index 29dfdd5..8efbbf3 100644
--- a/src/Daemon/Backends/LinuxXTables.cpp
+++ b/src/Daemon/Backends/LinuxXTables.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "LinuxXTables.hpp"
#include "Common/Types.hpp"
#include "Common/Logging.hpp"
diff --git a/src/Daemon/Backends/LinuxXTables.hpp b/src/Daemon/Backends/LinuxXTables.hpp
index 2b54092..a865898 100644
--- a/src/Daemon/Backends/LinuxXTables.hpp
+++ b/src/Daemon/Backends/LinuxXTables.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_BACKENDS_LINUXXTABLES_HPP
#define FIREWALLD_BACKENDS_LINUXXTABLES_HPP
+#include <build-config.h>
#include "Daemon/Backends/Linux/IPTables.hpp"
#include "Daemon/Backends/Linux/EBTables.hpp"
diff --git a/src/Daemon/CLI.cpp b/src/Daemon/CLI.cpp
index e56c3ae..3b352bd 100644
--- a/src/Daemon/CLI.cpp
+++ b/src/Daemon/CLI.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Daemon/CLI.hpp"
#include "Common/Logging.hpp"
#include "Common/glibmm_ext.hpp"
diff --git a/src/Daemon/CLI.hpp b/src/Daemon/CLI.hpp
index b2d6a30..8817262 100644
--- a/src/Daemon/CLI.hpp
+++ b/src/Daemon/CLI.hpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Common/Types.hpp"
#include <glibmm.h>
diff --git a/src/Daemon/DBus.cpp b/src/Daemon/DBus.cpp
index 4f53787..82d9190 100644
--- a/src/Daemon/DBus.cpp
+++ b/src/Daemon/DBus.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Common/Logging.hpp"
#include "Common/Types.hpp"
#include "Common/Utility.hpp"
diff --git a/src/Daemon/DBus.hpp b/src/Daemon/DBus.hpp
index d4c349f..46d3770 100644
--- a/src/Daemon/DBus.hpp
+++ b/src/Daemon/DBus.hpp
@@ -18,6 +18,7 @@
//
#ifndef _FIREWALLD_DBUS_H_
#define _FIREWALLD_DBUS_H_
+#include <build-config.h>
#include "Common/Types.hpp"
#include "Common/Logging.hpp"
diff --git a/src/Daemon/Exceptions.hpp b/src/Daemon/Exceptions.hpp
index d0122c6..cb1b25a 100644
--- a/src/Daemon/Exceptions.hpp
+++ b/src/Daemon/Exceptions.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_EXCEPTIONS_HPP
#define FIREWALLD_EXCEPTIONS_HPP
+#include <build-config.h>
#include <stdexcept>
diff --git a/src/Daemon/Firewall/Backend.cpp b/src/Daemon/Firewall/Backend.cpp
index d8b0636..7be385b 100644
--- a/src/Daemon/Firewall/Backend.cpp
+++ b/src/Daemon/Firewall/Backend.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Common/Types.hpp"
#include "Common/Utility.hpp"
#include "Daemon/Firewall/Transaction.hpp"
diff --git a/src/Daemon/Firewall/Backend.hpp b/src/Daemon/Firewall/Backend.hpp
index 52d6162..ea84291 100644
--- a/src/Daemon/Firewall/Backend.hpp
+++ b/src/Daemon/Firewall/Backend.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_BACKEND_HPP
#define FIREWALLD_FIREWALL_BACKEND_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
#include "Daemon/Firewall/Transaction.hpp"
diff --git a/src/Daemon/Firewall/BackendOpTable.hpp
b/src/Daemon/Firewall/BackendOpTable.hpp
index 0f07976..b5a4b9f 100644
--- a/src/Daemon/Firewall/BackendOpTable.hpp
+++ b/src/Daemon/Firewall/BackendOpTable.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_BACKENDOPTABLE_HPP
#define FIREWALLD_FIREWALL_BACKENDOPTABLE_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
diff --git a/src/Daemon/Firewall/Firewall.cpp b/src/Daemon/Firewall/Firewall.cpp
index cb08679..13864a9 100644
--- a/src/Daemon/Firewall/Firewall.cpp
+++ b/src/Daemon/Firewall/Firewall.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Daemon/FirewallD.hpp"
#include "Daemon/Firewall/Firewall.hpp"
#include "Daemon/Firewall/Backend.hpp"
diff --git a/src/Daemon/Firewall/Firewall.hpp b/src/Daemon/Firewall/Firewall.hpp
index b7ac1b6..8d0d742 100644
--- a/src/Daemon/Firewall/Firewall.hpp
+++ b/src/Daemon/Firewall/Firewall.hpp
@@ -18,6 +18,7 @@
//
#ifndef _FIREWALL_H_
#define _FIREWALL_H_
+#include <build-config.h>
#include "Common/Types.hpp"
#include "Daemon/Firewall/Zone.hpp"
diff --git a/src/Daemon/Firewall/FirewallObject.hpp
b/src/Daemon/Firewall/FirewallObject.hpp
index 25b216b..2909d60 100644
--- a/src/Daemon/Firewall/FirewallObject.hpp
+++ b/src/Daemon/Firewall/FirewallObject.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALLOBJECT_HPP
#define FIREWALLD_FIREWALLOBJECT_HPP
+#include <build-config.h>
namespace firewalld
{
diff --git a/src/Daemon/Firewall/ICMPType.cpp b/src/Daemon/Firewall/ICMPType.cpp
index 842aa8e..4a8d896 100644
--- a/src/Daemon/Firewall/ICMPType.cpp
+++ b/src/Daemon/Firewall/ICMPType.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Daemon/Firewall/ICMPType.hpp"
#include "Common/Utility.hpp"
#include "Common/Logging.hpp"
diff --git a/src/Daemon/Firewall/ICMPType.hpp b/src/Daemon/Firewall/ICMPType.hpp
index 267d7eb..11f8f79 100644
--- a/src/Daemon/Firewall/ICMPType.hpp
+++ b/src/Daemon/Firewall/ICMPType.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_ICMPTYPE_HPP
#define FIREWALLD_FIREWALL_ICMPTYPE_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
#include "Common/XMLStorage.hpp"
diff --git a/src/Daemon/Firewall/IPAddress.cpp b/src/Daemon/Firewall/IPAddress.cpp
index 2f31e5d..f856290 100644
--- a/src/Daemon/Firewall/IPAddress.cpp
+++ b/src/Daemon/Firewall/IPAddress.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Common/Types.hpp"
#include "Common/Utility.hpp"
#include "IPAddress.hpp"
diff --git a/src/Daemon/Firewall/IPAddress.hpp b/src/Daemon/Firewall/IPAddress.hpp
index 1c4bb72..be2b785 100644
--- a/src/Daemon/Firewall/IPAddress.hpp
+++ b/src/Daemon/Firewall/IPAddress.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_IPADDRESS_HPP
#define FIREWALLD_FIREWALL_IPADDRESS_HPP
+#include <build-config.h>
namespace firewalld
{
diff --git a/src/Daemon/Firewall/Interface.cpp b/src/Daemon/Firewall/Interface.cpp
index c34dc8d..a6e6165 100644
--- a/src/Daemon/Firewall/Interface.cpp
+++ b/src/Daemon/Firewall/Interface.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Daemon/Firewall/Interface.hpp"
namespace firewalld
diff --git a/src/Daemon/Firewall/Interface.hpp b/src/Daemon/Firewall/Interface.hpp
index 06492ea..ca568c9 100644
--- a/src/Daemon/Firewall/Interface.hpp
+++ b/src/Daemon/Firewall/Interface.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_INTERFACE_HPP
#define FIREWALLD_FIREWALL_INTERFACE_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
#include "Daemon/Firewall/FirewallObject.hpp"
diff --git a/src/Daemon/Firewall/Port.cpp b/src/Daemon/Firewall/Port.cpp
index 4267b19..3da0274 100644
--- a/src/Daemon/Firewall/Port.cpp
+++ b/src/Daemon/Firewall/Port.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Daemon/Firewall/Port.hpp"
#include "Common/Utility.hpp"
diff --git a/src/Daemon/Firewall/Port.hpp b/src/Daemon/Firewall/Port.hpp
index 8d1a744..3df2b2f 100644
--- a/src/Daemon/Firewall/Port.hpp
+++ b/src/Daemon/Firewall/Port.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_PORT_HPP
#define FIREWALLD_FIREWALL_PORT_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
#include "Daemon/Firewall/FirewallObject.hpp"
diff --git a/src/Daemon/Firewall/PortForward.cpp b/src/Daemon/Firewall/PortForward.cpp
index 4dc4408..d32470e 100644
--- a/src/Daemon/Firewall/PortForward.cpp
+++ b/src/Daemon/Firewall/PortForward.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Daemon/Firewall/PortForward.hpp"
#include "Daemon/Firewall/Port.hpp"
diff --git a/src/Daemon/Firewall/PortForward.hpp b/src/Daemon/Firewall/PortForward.hpp
index 0c67165..ab13ceb 100644
--- a/src/Daemon/Firewall/PortForward.hpp
+++ b/src/Daemon/Firewall/PortForward.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_FORWARDPORT_HPP
#define FIREWALLD_FIREWALL_FORWARDPORT_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
#include "Daemon/Firewall/Port.hpp"
diff --git a/src/Daemon/Firewall/RichLanguageParser/Lexer.qx
b/src/Daemon/Firewall/RichLanguageParser/Lexer.qx
index 7d56a8e..06dfa50 100644
--- a/src/Daemon/Firewall/RichLanguageParser/Lexer.qx
+++ b/src/Daemon/Firewall/RichLanguageParser/Lexer.qx
@@ -1,3 +1,7 @@
+header {
+ #include <build-config.h>
+}
+
start = RICH;
mode RICH :
diff --git a/src/Daemon/Firewall/RichLanguageParser/Parser.y
b/src/Daemon/Firewall/RichLanguageParser/Parser.y
index aaafce0..8d1f338 100644
--- a/src/Daemon/Firewall/RichLanguageParser/Parser.y
+++ b/src/Daemon/Firewall/RichLanguageParser/Parser.y
@@ -1,4 +1,6 @@
%include {
+ #include <build-config.h>
+
#include "Common/Logging.hpp"
#include "Common/Types.hpp"
#include "Daemon/Firewall/RichRuleParser.hpp"
diff --git a/src/Daemon/Firewall/RichRule.cpp b/src/Daemon/Firewall/RichRule.cpp
index 744dea3..311f24c 100644
--- a/src/Daemon/Firewall/RichRule.cpp
+++ b/src/Daemon/Firewall/RichRule.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "RichRule.hpp"
#include "Common/Logging.hpp"
#include <stdexcept>
diff --git a/src/Daemon/Firewall/RichRule.hpp b/src/Daemon/Firewall/RichRule.hpp
index 3c026d1..a7e89a6 100644
--- a/src/Daemon/Firewall/RichRule.hpp
+++ b/src/Daemon/Firewall/RichRule.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_RICHRULE_HPP
#define FIREWALLD_FIREWALL_RICHRULE_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
#include "Daemon/Firewall/IPAddress.hpp"
diff --git a/src/Daemon/Firewall/RichRuleParser.cpp
b/src/Daemon/Firewall/RichRuleParser.cpp
index fb5da96..6bb4541 100644
--- a/src/Daemon/Firewall/RichRuleParser.cpp
+++ b/src/Daemon/Firewall/RichRuleParser.cpp
@@ -16,8 +16,9 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
-#include "RichRuleParser.hpp"
+#include <build-config.h>
+#include "RichRuleParser.hpp"
#include "RichRule.hpp"
#include "RichRules/ServiceRule.hpp"
#include "RichRules/PortRule.hpp"
diff --git a/src/Daemon/Firewall/RichRuleParser.hpp
b/src/Daemon/Firewall/RichRuleParser.hpp
index 29fedd9..0297fc8 100644
--- a/src/Daemon/Firewall/RichRuleParser.hpp
+++ b/src/Daemon/Firewall/RichRuleParser.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_RICHRULEPARSER_HPP
#define FIREWALLD_FIREWALL_RICHRULEPARSER_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
diff --git a/src/Daemon/Firewall/RichRules/ForwardPortRule.cpp
b/src/Daemon/Firewall/RichRules/ForwardPortRule.cpp
index a900782..db5fc29 100644
--- a/src/Daemon/Firewall/RichRules/ForwardPortRule.cpp
+++ b/src/Daemon/Firewall/RichRules/ForwardPortRule.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "ForwardPortRule.hpp"
namespace firewalld
diff --git a/src/Daemon/Firewall/RichRules/ForwardPortRule.hpp
b/src/Daemon/Firewall/RichRules/ForwardPortRule.hpp
index fa356e1..fab9374 100644
--- a/src/Daemon/Firewall/RichRules/ForwardPortRule.hpp
+++ b/src/Daemon/Firewall/RichRules/ForwardPortRule.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_FORWARDPORTRULE_HPP
#define FIREWALLD_FIREWALL_FORWARDPORTRULE_HPP
+#include <build-config.h>
#include "Daemon/Firewall/RichRule.hpp"
#include "Daemon/Firewall/PortForward.hpp"
diff --git a/src/Daemon/Firewall/RichRules/ICMPBlockRule.cpp
b/src/Daemon/Firewall/RichRules/ICMPBlockRule.cpp
index 6f7a9b9..90c73f1 100644
--- a/src/Daemon/Firewall/RichRules/ICMPBlockRule.cpp
+++ b/src/Daemon/Firewall/RichRules/ICMPBlockRule.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "ICMPBlockRule.hpp"
#include "Daemon/FirewallD.hpp"
diff --git a/src/Daemon/Firewall/RichRules/ICMPBlockRule.hpp
b/src/Daemon/Firewall/RichRules/ICMPBlockRule.hpp
index 65fba5c..d490f95 100644
--- a/src/Daemon/Firewall/RichRules/ICMPBlockRule.hpp
+++ b/src/Daemon/Firewall/RichRules/ICMPBlockRule.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_ICMPBLOCKRULE_HPP
#define FIREWALLD_FIREWALL_ICMPBLOCKRULE_HPP
+#include <build-config.h>
#include "Daemon/Firewall/RichRule.hpp"
#include "Daemon/Firewall/ICMPType.hpp"
diff --git a/src/Daemon/Firewall/RichRules/MasqueradeRule.cpp
b/src/Daemon/Firewall/RichRules/MasqueradeRule.cpp
index 9d13361..9aa6ae7 100644
--- a/src/Daemon/Firewall/RichRules/MasqueradeRule.cpp
+++ b/src/Daemon/Firewall/RichRules/MasqueradeRule.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "MasqueradeRule.hpp"
namespace firewalld
diff --git a/src/Daemon/Firewall/RichRules/MasqueradeRule.hpp
b/src/Daemon/Firewall/RichRules/MasqueradeRule.hpp
index ad30331..5433815 100644
--- a/src/Daemon/Firewall/RichRules/MasqueradeRule.hpp
+++ b/src/Daemon/Firewall/RichRules/MasqueradeRule.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_MASQUERADERULE_HPP
#define FIREWALLD_FIREWALL_MASQUERADERULE_HPP
+#include <build-config.h>
#include "Daemon/Firewall/RichRule.hpp"
diff --git a/src/Daemon/Firewall/RichRules/PortRule.cpp
b/src/Daemon/Firewall/RichRules/PortRule.cpp
index 19944ee..2c6689d 100644
--- a/src/Daemon/Firewall/RichRules/PortRule.cpp
+++ b/src/Daemon/Firewall/RichRules/PortRule.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "PortRule.hpp"
namespace firewalld
diff --git a/src/Daemon/Firewall/RichRules/PortRule.hpp
b/src/Daemon/Firewall/RichRules/PortRule.hpp
index 0cc9017..489db28 100644
--- a/src/Daemon/Firewall/RichRules/PortRule.hpp
+++ b/src/Daemon/Firewall/RichRules/PortRule.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_PORTRULE_HPP
#define FIREWALLD_FIREWALL_PORTRULE_HPP
+#include <build-config.h>
#include "Daemon/Firewall/RichRule.hpp"
#include "Daemon/Firewall/Port.hpp"
diff --git a/src/Daemon/Firewall/RichRules/ProtocolRule.cpp
b/src/Daemon/Firewall/RichRules/ProtocolRule.cpp
index 69ee634..ab3ae5a 100644
--- a/src/Daemon/Firewall/RichRules/ProtocolRule.cpp
+++ b/src/Daemon/Firewall/RichRules/ProtocolRule.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "ProtocolRule.hpp"
#include "Common/Utility.hpp"
#include <netdb.h>
diff --git a/src/Daemon/Firewall/RichRules/ProtocolRule.hpp
b/src/Daemon/Firewall/RichRules/ProtocolRule.hpp
index 73baad3..06a13e8 100644
--- a/src/Daemon/Firewall/RichRules/ProtocolRule.hpp
+++ b/src/Daemon/Firewall/RichRules/ProtocolRule.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_PROTOCOLRULE_HPP
#define FIREWALLD_FIREWALL_PROTOCOLRULE_HPP
+#include <build-config.h>
#include "Daemon/Firewall/RichRule.hpp"
diff --git a/src/Daemon/Firewall/RichRules/ServiceRule.cpp
b/src/Daemon/Firewall/RichRules/ServiceRule.cpp
index fcd7b66..82bd03a 100644
--- a/src/Daemon/Firewall/RichRules/ServiceRule.cpp
+++ b/src/Daemon/Firewall/RichRules/ServiceRule.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "ServiceRule.hpp"
#include "Daemon/FirewallD.hpp"
diff --git a/src/Daemon/Firewall/RichRules/ServiceRule.hpp
b/src/Daemon/Firewall/RichRules/ServiceRule.hpp
index 7d38ad0..eb7cbe2 100644
--- a/src/Daemon/Firewall/RichRules/ServiceRule.hpp
+++ b/src/Daemon/Firewall/RichRules/ServiceRule.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_SERVICERULE_HPP
#define FIREWALLD_FIREWALL_SERVICERULE_HPP
+#include <build-config.h>
#include "Daemon/Firewall/RichRule.hpp"
#include "Daemon/Firewall/Service.hpp"
diff --git a/src/Daemon/Firewall/Service.cpp b/src/Daemon/Firewall/Service.cpp
index ec8f32c..6b68c88 100644
--- a/src/Daemon/Firewall/Service.cpp
+++ b/src/Daemon/Firewall/Service.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Daemon/Firewall/Service.hpp"
#include "Common/Utility.hpp"
#include "Daemon/Firewall/Port.hpp"
diff --git a/src/Daemon/Firewall/Service.hpp b/src/Daemon/Firewall/Service.hpp
index c59db9f..362f7e5 100644
--- a/src/Daemon/Firewall/Service.hpp
+++ b/src/Daemon/Firewall/Service.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_SERVICE_HPP
#define FIREWALLD_FIREWALL_SERVICE_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
#include "Common/XMLStorage.hpp"
diff --git a/src/Daemon/Firewall/Source.cpp b/src/Daemon/Firewall/Source.cpp
index a663c36..ba23008 100644
--- a/src/Daemon/Firewall/Source.cpp
+++ b/src/Daemon/Firewall/Source.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Daemon/Firewall/Source.hpp"
namespace firewalld
diff --git a/src/Daemon/Firewall/Source.hpp b/src/Daemon/Firewall/Source.hpp
index 7624184..7a6a947 100644
--- a/src/Daemon/Firewall/Source.hpp
+++ b/src/Daemon/Firewall/Source.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_SOURCE_HPP
#define FIREWALLD_FIREWALL_SOURCE_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
#include "Daemon/Firewall/FirewallObject.hpp"
diff --git a/src/Daemon/Firewall/Transaction.cpp b/src/Daemon/Firewall/Transaction.cpp
index 80b51a3..05499c8 100644
--- a/src/Daemon/Firewall/Transaction.cpp
+++ b/src/Daemon/Firewall/Transaction.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Transaction.hpp"
#include <stdexcept>
diff --git a/src/Daemon/Firewall/Transaction.hpp b/src/Daemon/Firewall/Transaction.hpp
index 32e34da..02ebd1c 100644
--- a/src/Daemon/Firewall/Transaction.hpp
+++ b/src/Daemon/Firewall/Transaction.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_TRANSACTION_HPP
#define FIREWALLD_FIREWALL_TRANSACTION_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
#include "Daemon/Exceptions.hpp"
diff --git a/src/Daemon/Firewall/Zone.cpp b/src/Daemon/Firewall/Zone.cpp
index 3853aab..46e5ca2 100644
--- a/src/Daemon/Firewall/Zone.cpp
+++ b/src/Daemon/Firewall/Zone.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Daemon/Firewall/Zone.hpp"
#include "Common/Utility.hpp"
#include "Daemon/FirewallD.hpp"
diff --git a/src/Daemon/Firewall/Zone.hpp b/src/Daemon/Firewall/Zone.hpp
index cf903a6..898ea95 100644
--- a/src/Daemon/Firewall/Zone.hpp
+++ b/src/Daemon/Firewall/Zone.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_ZONE_HPP
#define FIREWALLD_FIREWALL_ZONE_HPP
+#include <build-config.h>
#include "Daemon/Firewall/Interface.hpp"
#include "Daemon/Firewall/Service.hpp"
diff --git a/src/Daemon/Firewall/ZoneObject.hpp b/src/Daemon/Firewall/ZoneObject.hpp
index f7e7c02..8f26261 100644
--- a/src/Daemon/Firewall/ZoneObject.hpp
+++ b/src/Daemon/Firewall/ZoneObject.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_FIREWALL_ZONEOBJECT_HPP
#define FIREWALLD_FIREWALL_ZONEOBJECT_HPP
+#include <build-config.h>
#include "Daemon/Firewall/FirewallObject.hpp"
diff --git a/src/Daemon/FirewallD.cpp b/src/Daemon/FirewallD.cpp
index cabe05b..915236d 100644
--- a/src/Daemon/FirewallD.cpp
+++ b/src/Daemon/FirewallD.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Daemon/FirewallD.hpp"
#include "Daemon/Firewall/Firewall.hpp"
#include "Daemon/DBus.hpp"
diff --git a/src/Daemon/FirewallD.hpp b/src/Daemon/FirewallD.hpp
index fbec33a..a162795 100644
--- a/src/Daemon/FirewallD.hpp
+++ b/src/Daemon/FirewallD.hpp
@@ -18,6 +18,7 @@
//
#ifndef _FIREWALLD_H_
#define _FIREWALLD_H_
+#include <build-config.h>
#include "Common/Types.hpp"
#include "Daemon/DBus.hpp"
diff --git a/src/Daemon/GlobalVariables.hpp b/src/Daemon/GlobalVariables.hpp
index 7f820af..6a69454 100644
--- a/src/Daemon/GlobalVariables.hpp
+++ b/src/Daemon/GlobalVariables.hpp
@@ -18,6 +18,7 @@
//
#ifndef _FIREWALLD_GLOBAL_VARIABLES_H_
#define _FIREWALLD_GLOBAL_VARIABLES_H_
+#include <build-config.h>
namespace firewalld
{
diff --git a/src/Daemon/LockdownWhitelist.cpp b/src/Daemon/LockdownWhitelist.cpp
index 9dd4ec1..4fcd1ef 100644
--- a/src/Daemon/LockdownWhitelist.cpp
+++ b/src/Daemon/LockdownWhitelist.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Daemon/LockdownWhitelist.hpp"
#include "Daemon/Exceptions.hpp"
#include "Common/Utility.hpp"
diff --git a/src/Daemon/LockdownWhitelist.hpp b/src/Daemon/LockdownWhitelist.hpp
index 0848cc6..525938f 100644
--- a/src/Daemon/LockdownWhitelist.hpp
+++ b/src/Daemon/LockdownWhitelist.hpp
@@ -18,6 +18,7 @@
//
#ifndef FIREWALLD_LOCKDOWNWHITELIST_HPP
#define FIREWALLD_LOCKDOWNWHITELIST_HPP
+#include <build-config.h>
#include "Common/Types.hpp"
#include "Common/XMLStorage.hpp"
diff --git a/src/Daemon/SignalHandler.cpp b/src/Daemon/SignalHandler.cpp
index c06558a..ed6c4d8 100644
--- a/src/Daemon/SignalHandler.cpp
+++ b/src/Daemon/SignalHandler.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Daemon/SignalHandler.hpp"
#include "Common/Logging.hpp"
#include "Daemon/GlobalVariables.hpp"
diff --git a/src/Daemon/SignalHandler.hpp b/src/Daemon/SignalHandler.hpp
index e37ed4b..98e820b 100644
--- a/src/Daemon/SignalHandler.hpp
+++ b/src/Daemon/SignalHandler.hpp
@@ -18,6 +18,7 @@
//
#ifndef _FIREWALLD_SIGNAL_HANDLER_H_
#define _FIREWALLD_SIGNAL_HANDLER_H_
+#include <build-config.h>
#include <glibmm.h>
diff --git a/src/Daemon/main.cpp b/src/Daemon/main.cpp
index eb41c45..5a32432 100644
--- a/src/Daemon/main.cpp
+++ b/src/Daemon/main.cpp
@@ -16,6 +16,8 @@
//
// Authors: Daniel Kopecek <dkopecek(a)redhat.com>
//
+#include <build-config.h>
+
#include "Common/Logging.hpp"
#include "Common/Utility.hpp"
#include "Daemon/FirewallD.hpp"