[ldapvi] [PATCH] Do not define _XOPEN_SOURCE in parse.c
Florian Weimer
fweimer at redhat.com
Sat Dec 17 22:05:28 CET 2022
It masks the declaration of crypt in current glibc, resulting
in compilation errors with future compilers.
---
ldapvi/parse.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/ldapvi/parse.c b/ldapvi/parse.c
index e171f53..c1cab1d 100644
--- a/ldapvi/parse.c
+++ b/ldapvi/parse.c
@@ -15,7 +15,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#define _XOPEN_SOURCE
#include <unistd.h>
#include "common.h"
Related to:
<https://fedoraproject.org/wiki/Changes/PortingToModernC>
<https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
More information about the ldapvi
mailing list