summaryrefslogtreecommitdiffstats
path: root/net-p2p/dctc
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-06-04 22:06:03 +0000
committermarcus <marcus@FreeBSD.org>2004-06-04 22:06:03 +0000
commit1a40251ca73155417a21726d5372d684e033eade (patch)
tree02d45f863106735b9fb8e9f079594a15948263a0 /net-p2p/dctc
parent2b75b0b45357aa4b6ee5a08446bb5a07550fe6ab (diff)
downloadFreeBSD-ports-1a40251ca73155417a21726d5372d684e033eade.zip
FreeBSD-ports-1a40251ca73155417a21726d5372d684e033eade.tar.gz
Fix build on -CURRENT now that we no longer have default PTHREAD_CFLAGS.
Basically, all modern, supported versions of FreeBSD are thread-safe, so just assume we have pthread.h. Reported by: bento via kris
Diffstat (limited to 'net-p2p/dctc')
-rw-r--r--net-p2p/dctc/files/lp_mutex.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net-p2p/dctc/files/lp_mutex.c b/net-p2p/dctc/files/lp_mutex.c
index 2c76d0a..036b004 100644
--- a/net-p2p/dctc/files/lp_mutex.c
+++ b/net-p2p/dctc/files/lp_mutex.c
@@ -38,7 +38,6 @@
#include <stdlib.h>
-#ifdef _THREAD_SAFE
# include <pthread.h>
/*
@@ -118,5 +117,3 @@ int
lp_mutex_destroy_ (pthread_mutex_t ** mutex) {}
# endif /* (defined(BSD) && (BSD >= 199103)) */
-
-#endif /* _THREAD_SAFE */
OpenPOWER on IntegriCloud