From: Kevin Day Date: Wed, 31 Jan 2018 04:36:04 +0000 (-0600) Subject: Update: add necessary defines to fix problems with ldap deprecation and include issues On some systems, including does not result in all of tbe necessary defines being enabled without additional defines. Newer versions of ldap deprecatd and removed currently used functions. --- diff --git a/program/autocreate_ldap_accounts_in_postgresql/source/c/autocreate_ldap_accounts_in_postgresql.c b/program/autocreate_ldap_accounts_in_postgresql/source/c/autocreate_ldap_accounts_in_postgresql.c index 01e088c..40a2f9d 100644 --- a/program/autocreate_ldap_accounts_in_postgresql/source/c/autocreate_ldap_accounts_in_postgresql.c +++ b/program/autocreate_ldap_accounts_in_postgresql/source/c/autocreate_ldap_accounts_in_postgresql.c @@ -27,6 +27,9 @@ * * Copyright Kevin Day, lgpl v2.1 or later. */ +#define _GNU_SOURCE +#define LDAP_DEPRECATED 1 + #include #include #include