summaryrefslogtreecommitdiff
path: root/ldap
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2022-11-27 13:59:27 -0600
committerBrian Smith <brian@dbsoft.org>2022-11-27 13:59:27 -0600
commitabc044bc617813a67b28e89d795a222d050267d6 (patch)
treea98e4d4d31a09267a8ad04855402e5e0039694ab /ldap
parenta061db91dd0ba4f82bdaf2f137c36dcbd7abdec1 (diff)
downloaduxp-abc044bc617813a67b28e89d795a222d050267d6.tar.gz
No Issue - Fix building ldap on MacOS.
Discovered this problem building Epyrus on MacOS, based on this Mozilla Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1652906
Diffstat (limited to 'ldap')
-rw-r--r--ldap/c-sdk/liblber/lber-int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/c-sdk/liblber/lber-int.h b/ldap/c-sdk/liblber/lber-int.h
index 24b15bdc5f..e9efba345c 100644
--- a/ldap/c-sdk/liblber/lber-int.h
+++ b/ldap/c-sdk/liblber/lber-int.h
@@ -85,7 +85,7 @@ extern "C" {
/* # include <sys/varargs.h> */
# include <sys/socket.h>
# include <netinet/in.h>
-#if !defined(XP_OS2) && !defined(DARWIN)
+#if !defined(XP_OS2)
# include <unistd.h>
#endif
# endif /* defined( _WINDOWS ) */