summaryrefslogtreecommitdiff
path: root/src/poi-service/poi-server/main.cpp
diff options
context:
space:
mode:
authorasanoaozora <fifitaneki@hotmail.com>2017-11-17 11:32:28 +0100
committerasanoaozora <fifitaneki@hotmail.com>2017-11-17 11:32:28 +0100
commiteb90438a1d4729751c0768e0b65fc8c940741d65 (patch)
treef043605592ad71b5769100031480dc286164a975 /src/poi-service/poi-server/main.cpp
parent17dc03852f64ed02f3fbc1ca42ea25c5fb403ccd (diff)
downloadpoi-service-eb90438a1d4729751c0768e0b65fc8c940741d65.tar.gz
Fix a bug in dbus-c++ to allow build with gcc 7.2.0
thanks to Orcan Ogetbil <oget.fedora@gm...>
Diffstat (limited to 'src/poi-service/poi-server/main.cpp')
-rw-r--r--src/poi-service/poi-server/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/poi-service/poi-server/main.cpp b/src/poi-service/poi-server/main.cpp
index a6053b9..8ebf984 100644
--- a/src/poi-service/poi-server/main.cpp
+++ b/src/poi-service/poi-server/main.cpp
@@ -36,6 +36,9 @@
#include <cmath>
#include <typeinfo>
#include <getopt.h>
+#ifndef DBUS_HAS_RECURSIVE_MUTEX
+#define DBUS_HAS_RECURSIVE_MUTEX
+#endif
#include <dbus-c++/glib-integration.h>
#include "log.h"