aboutsummaryrefslogtreecommitdiff
path: root/comms/openobex/files
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2013-05-06 22:07:11 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2013-05-06 22:07:11 +0000
commita0f96c2f9bf40df16f695b80fbf07382d392036c (patch)
treed847c105825497f6a12ad0c73787a6451eae09b0 /comms/openobex/files
parent45dc7a52d224510abd1c8e808d800192a132754b (diff)
downloadports-a0f96c2f9bf40df16f695b80fbf07382d392036c.tar.gz
ports-a0f96c2f9bf40df16f695b80fbf07382d392036c.zip
Notes
Diffstat (limited to 'comms/openobex/files')
-rw-r--r--comms/openobex/files/patch-lib_cloexec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/comms/openobex/files/patch-lib_cloexec.h b/comms/openobex/files/patch-lib_cloexec.h
index 32305701a14a..d3c12f2b8229 100644
--- a/comms/openobex/files/patch-lib_cloexec.h
+++ b/comms/openobex/files/patch-lib_cloexec.h
@@ -13,7 +13,7 @@
socklen_t *addrlen)
{
-#ifdef SOCK_CLOEXEC
-+#if defined(SOCK_CLOEXEC) && __FreeBSD_version < 1000032
++#if defined(SOCK_CLOEXEC) && __FreeBSD_version > 1000032
return accept4(sockfd, addr, addrlen, SOCK_CLOEXEC);
#else
socket_t fd = accept(sockfd, addr, addrlen);