Skip to content

Commit

Permalink
Modules: Use alternate sasl.h location on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
pyldap contributors authored and Petr Viktorin committed Nov 24, 2017
1 parent 39ad22e commit b0c9081
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Modules/LDAPObject.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@
#include "options.h"

#ifdef HAVE_SASL
#ifdef __APPLE__
#include <sasl/sasl.h>
#else
#include <sasl.h>
#endif
#endif

static void free_attrs(char***, PyObject*);

Expand Down

0 comments on commit b0c9081

Please sign in to comment.