summaryrefslogtreecommitdiff
path: root/enhanced-position-service/dbus/test/enhanced-position-client.h
diff options
context:
space:
mode:
authorasanoaozora <fifitaneki@hotmail.com>2017-11-17 11:24:27 +0100
committerasanoaozora <fifitaneki@hotmail.com>2017-11-17 11:24:27 +0100
commitd4c46f13019aefb11aebd0fc1210a29a46f0b521 (patch)
tree616b2fdac52ae431d62af6d83f844469b3cd187e /enhanced-position-service/dbus/test/enhanced-position-client.h
parent9725fe1f553197042d6445997690d452a73490c0 (diff)
downloadpositioning-d4c46f13019aefb11aebd0fc1210a29a46f0b521.tar.gz
Fix a bug in dbus-c++ to allow build with gcc 7.2.0
I added this: thanks to Orcan Ogetbil <oget.fedora@gm...>
Diffstat (limited to 'enhanced-position-service/dbus/test/enhanced-position-client.h')
-rw-r--r--enhanced-position-service/dbus/test/enhanced-position-client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/enhanced-position-service/dbus/test/enhanced-position-client.h b/enhanced-position-service/dbus/test/enhanced-position-client.h
index 5bbe0f1..0738005 100644
--- a/enhanced-position-service/dbus/test/enhanced-position-client.h
+++ b/enhanced-position-service/dbus/test/enhanced-position-client.h
@@ -18,6 +18,9 @@
#ifndef __ENHANCED_POSITION_CLIENT_H
#define __ENHANCED_POSITION_CLIENT_H
+#ifndef DBUS_HAS_RECURSIVE_MUTEX
+#define DBUS_HAS_RECURSIVE_MUTEX
+#endif
#include <dbus-c++/dbus.h>
#include "enhanced-position-proxy.h"