diff --git a/beos/makefile b/beos/makefile index 63a57d787..0c4285c67 100644 --- a/beos/makefile +++ b/beos/makefile @@ -52,7 +52,7 @@ else LIBS = be bind socket tracker transmission Prefs endif ifneq ($(wildcard /boot/beos/system/lib/libzeta.so),) - LIBS += zeta + LIBS += zeta crypto endif # specify additional paths to directories following the standard # libXXX.so or libXXX.a naming scheme. You can specify full paths diff --git a/configure b/configure index 7ed285578..c3d72647c 100755 --- a/configure +++ b/configure @@ -194,7 +194,7 @@ echo "System: $SYSTEM" # # Mac OS X check for the Universal SDK # -if [ $SYSTEM = Darwin -a ! -d /Developer/SDKs/MacOSX10.4u.sdk ]; then +if [ "$SYSTEM" = Darwin -a ! -d /Developer/SDKs/MacOSX10.4u.sdk ]; then echo echo "You need to install the Universal SDK in order to build Transmission:" echo " Get your Xcode CD or package" diff --git a/libtransmission/choking.c b/libtransmission/choking.c index cdad7d0fb..52a5d010c 100644 --- a/libtransmission/choking.c +++ b/libtransmission/choking.c @@ -23,6 +23,10 @@ #include #include "transmission.h" +#ifdef SYS_BEOS +#define lrintf(a) ((int)(0.5+(a))) +#endif + struct tr_choking_s { tr_lock_t lock;