chiark / gitweb /
Build fixes for FreeBSD
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 8 Mar 2009 13:01:09 +0000 (13:01 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 8 Mar 2009 13:01:09 +0000 (13:01 +0000)
clients/Makefile.am
lib/uaudio-rtp.c
server/Makefile.am
server/speaker.c

index 5456bd1c8ee4f34458dbf4b9d6fa9e3490e49c7e..1ec55a98b9f713513dec27ec98ade75b95e1b98d 100644 (file)
@@ -25,7 +25,7 @@ AM_CPPFLAGS=-I${top_srcdir}/lib -I../lib
 disorder_SOURCES=disorder.c authorize.c authorize.h \
        ../lib/memgc.c
 disorder_LDADD=$(LIBOBJS) ../lib/libdisorder.a \
-       $(LIBGC) $(LIBGCRYPT) $(LIBPCRE) $(LIBDB)
+       $(LIBGC) $(LIBGCRYPT) $(LIBPCRE) $(LIBDB) $(LIBPTHREAD)
 disorder_DEPENDENCIES=$(LIBOBJS) ../lib/libdisorder.a
 
 disorderfm_SOURCES=disorderfm.c \
index 00609404372ab9e8778d65bc04b3acb7a256fc50..4189cb38a51968653a14bef62f72043402e48ad6 100644 (file)
@@ -23,6 +23,8 @@
 #include <sys/socket.h>
 #include <ifaddrs.h>
 #include <net/if.h>
+#include <arpa/inet.h>
+#include <netinet/in.h>
 #include <gcrypt.h>
 #include <unistd.h>
 #include <time.h>
index 7dfe99ded52fb423289971aaf4d386c67b1c9880..6062826c43165a6242052ac0eeb2b1a827203a0b 100644 (file)
@@ -39,7 +39,8 @@ disorder_deadlock_DEPENDENCIES=../lib/libdisorder.a
 
 disorder_speaker_SOURCES=speaker.c
 disorder_speaker_LDADD=$(LIBOBJS) ../lib/libdisorder.a \
-       $(LIBASOUND) $(LIBPCRE) $(LIBICONV) $(LIBGCRYPT) $(COREAUDIO)
+       $(LIBASOUND) $(LIBPCRE) $(LIBICONV) $(LIBGCRYPT) $(COREAUDIO) \
+       $(LIBPTHREAD)
 disorder_speaker_DEPENDENCIES=../lib/libdisorder.a
 
 disorder_decode_SOURCES=decode.c disorder-server.h
index 6a212dd6230cf3e78ecdaaaa8c865bac792a1527..123f7a20a60eb1a688b7cf8966ce68417e9c1b7d 100644 (file)
@@ -79,6 +79,7 @@
 #include <sys/un.h>
 #include <sys/stat.h>
 #include <pthread.h>
+#include <sys/resource.h>
 
 #include "configuration.h"
 #include "syscalls.h"