Skip to content

Commit 5729d06

Browse files
committed
Include sasl.h from standard path
<sasl/sasl.h> is the standard include path for sasl.h. ``pkg-config --cflags libsasl2`` agrees with me. Signed-off-by: Christian Heimes <cheimes@redhat.com>
1 parent 703d322 commit 5729d06

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

Modules/LDAPObject.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@
1313
#include "options.h"
1414

1515
#ifdef HAVE_SASL
16-
#ifdef __APPLE__
1716
#include <sasl/sasl.h>
18-
#else
19-
#include <sasl.h>
20-
#endif
2117
#endif
2218

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

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Define extra include and library dirs if needed. distutils adds non
99
# standard library_dirs as rpath.
1010
# library_dirs = /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64
11-
# include_dirs = /usr/include /usr/include/sasl /usr/local/include /usr/local/include/sasl
11+
# include_dirs = /usr/include /usr/local/include
1212

1313
# These defines needs OpenLDAP built with
1414
# ./configure --with-cyrus-sasl --with-tls

0 commit comments

Comments
 (0)