Browse Source

Fix FTBFS on freebsd

This resolves Bug 2428

Signed-off-by: Nikolaus Klepp <office@klepp.biz>
pull/1/head
parent
commit
31a6127eec
4 changed files with 4 additions and 1 deletions
  1. +1
    -0
      mcop/tcpconnection.cc
  2. +1
    -0
      mcop/unixconnection.cc
  3. +1
    -0
      mcop/unixserver.cc
  4. +1
    -1
      mcop_mt/threads_posix.cc

+ 1
- 0
mcop/tcpconnection.cc View File

@@ -35,6 +35,7 @@
#include <errno.h>
#include "debug.h"
#include <stdlib.h>
#include <string.h>

using namespace std;
using namespace Arts;


+ 1
- 0
mcop/unixconnection.cc View File

@@ -29,6 +29,7 @@
#include <sys/un.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>

using namespace std;
using namespace Arts;


+ 1
- 0
mcop/unixserver.cc View File

@@ -40,6 +40,7 @@
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>

using namespace std;
using namespace Arts;


+ 1
- 1
mcop_mt/threads_posix.cc View File

@@ -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;


Loading…
Cancel
Save