Fix FTBFS on freebsd

This resolves Bug 2428

Signed-off-by: Nikolaus Klepp <office@klepp.biz>
(cherry picked from commit 31a6127eec)
v3.5.13-sru
Nikolaus Klepp 10 years ago committed by Slávek Banko
parent e56fe3ba63
commit b93dc0be14

@ -35,6 +35,7 @@
#include <errno.h> #include <errno.h>
#include "debug.h" #include "debug.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
using namespace std; using namespace std;
using namespace Arts; using namespace Arts;

@ -29,6 +29,7 @@
#include <sys/un.h> #include <sys/un.h>
#include <errno.h> #include <errno.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
using namespace std; using namespace std;
using namespace Arts; using namespace Arts;

@ -40,6 +40,7 @@
#include <unistd.h> #include <unistd.h>
#include <stdio.h> #include <stdio.h>
#include <errno.h> #include <errno.h>
#include <string.h>
using namespace std; using namespace std;
using namespace Arts; using namespace Arts;

@ -358,7 +358,7 @@ static void pth_rec_cond_init (GslCond *cond)
static void pth_rec_cond_wait_timed (GslCond *cond, GslMutex *mutex, static void pth_rec_cond_wait_timed (GslCond *cond, GslMutex *mutex,
gulong abs_secs, gulong abs_usecs) gulong abs_secs, gulong abs_usecs)
{ {
struct timespec abstime; struct ::timespec abstime;
abstime.tv_sec = abs_secs; abstime.tv_sec = abs_secs;
abstime.tv_nsec = abs_usecs * 1000; abstime.tv_nsec = abs_usecs * 1000;

Loading…
Cancel
Save