summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolaus Klepp <office@klepp.biz>2015-05-05 21:47:07 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-05-05 21:47:07 +0200
commit31a6127eecfb7d905939734091f6a7b6379ffc75 (patch)
tree3d09c97db1ec70460813544f6df1fa2e1635ba1b
parent0b75ac26396b770162f3b7aa900091728163f901 (diff)
downloadarts-31a6127eecfb7d905939734091f6a7b6379ffc75.tar.gz
arts-31a6127eecfb7d905939734091f6a7b6379ffc75.zip
Fix FTBFS on freebsd
This resolves Bug 2428 Signed-off-by: Nikolaus Klepp <office@klepp.biz>
-rw-r--r--mcop/tcpconnection.cc1
-rw-r--r--mcop/unixconnection.cc1
-rw-r--r--mcop/unixserver.cc1
-rw-r--r--mcop_mt/threads_posix.cc2
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;