diff options
author | asanoaozora <fifitaneki@hotmail.com> | 2017-12-11 17:14:17 +0100 |
---|---|---|
committer | asanoaozora <fifitaneki@hotmail.com> | 2017-12-11 17:14:17 +0100 |
commit | e24dfc26410683b59efa7500e325a4ffe724849e (patch) | |
tree | e93a249b2914808174c05a314d8fb79f7ece84b6 /src/speech | |
parent | eb90438a1d4729751c0768e0b65fc8c940741d65 (diff) | |
download | poi-service-e24dfc26410683b59efa7500e325a4ffe724849e.tar.gz |
Fix build errors (due to new gcc)
Diffstat (limited to 'src/speech')
-rw-r--r-- | src/speech/main.cpp | 3 | ||||
-rwxr-xr-x | src/speech/run.sh | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/speech/main.cpp b/src/speech/main.cpp index f6b3ca4..a122c71 100644 --- a/src/speech/main.cpp +++ b/src/speech/main.cpp @@ -36,6 +36,9 @@ #include <iostream> #include <cmath> #include <typeinfo> +#ifndef DBUS_HAS_RECURSIVE_MUTEX +#define DBUS_HAS_RECURSIVE_MUTEX +#endif #include <dbus-c++-1/dbus-c++/glib-integration.h> #include <semaphore.h> #include <flite.h> diff --git a/src/speech/run.sh b/src/speech/run.sh index 6a6126d..d20b715 100755 --- a/src/speech/run.sh +++ b/src/speech/run.sh @@ -1,3 +1,4 @@ #!/bin/bash +export LD_LIBRARY_PATH=$DBUS_LIB_PATH/lib ./bin/speech-output-server |