diff options
author | Nikolaus Klepp <[email protected]> | 2015-05-05 21:47:07 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2015-05-05 21:47:07 +0200 |
commit | 31a6127eecfb7d905939734091f6a7b6379ffc75 (patch) | |
tree | 3d09c97db1ec70460813544f6df1fa2e1635ba1b | |
parent | 0b75ac26396b770162f3b7aa900091728163f901 (diff) | |
download | arts-31a6127eecfb7d905939734091f6a7b6379ffc75.tar.gz arts-31a6127eecfb7d905939734091f6a7b6379ffc75.zip |
Fix FTBFS on freebsd
This resolves Bug 2428
Signed-off-by: Nikolaus Klepp <[email protected]>
-rw-r--r-- | mcop/tcpconnection.cc | 1 | ||||
-rw-r--r-- | mcop/unixconnection.cc | 1 | ||||
-rw-r--r-- | mcop/unixserver.cc | 1 | ||||
-rw-r--r-- | mcop_mt/threads_posix.cc | 2 |
4 files changed, 4 insertions, 1 deletions
diff --git a/mcop/tcpconnection.cc b/mcop/tcpconnection.cc index e87fde5..722ed2c 100644 --- a/mcop/tcpconnection.cc +++ b/mcop/tcpconnection.cc @@ -35,6 +35,7 @@ #include <errno.h> #include "debug.h" #include <stdlib.h> +#include <string.h> using namespace std; using namespace Arts; diff --git a/mcop/unixconnection.cc b/mcop/unixconnection.cc index 40247c4..38464d3 100644 --- a/mcop/unixconnection.cc +++ b/mcop/unixconnection.cc @@ -29,6 +29,7 @@ #include <sys/un.h> #include <errno.h> #include <stdlib.h> +#include <string.h> using namespace std; using namespace Arts; diff --git a/mcop/unixserver.cc b/mcop/unixserver.cc index 9c13ab2..acb3496 100644 --- a/mcop/unixserver.cc +++ b/mcop/unixserver.cc @@ -40,6 +40,7 @@ #include <unistd.h> #include <stdio.h> #include <errno.h> +#include <string.h> using namespace std; using namespace Arts; diff --git a/mcop_mt/threads_posix.cc b/mcop_mt/threads_posix.cc index 0a884f9..0ec24a5 100644 --- a/mcop_mt/threads_posix.cc +++ b/mcop_mt/threads_posix.cc @@ -358,7 +358,7 @@ static void pth_rec_cond_init (GslCond *cond) static void pth_rec_cond_wait_timed (GslCond *cond, GslMutex *mutex, gulong abs_secs, gulong abs_usecs) { - struct timespec abstime; + struct ::timespec abstime; abstime.tv_sec = abs_secs; abstime.tv_nsec = abs_usecs * 1000; |