From 04e0be8f0b9a02769655b993e6be4b79444b549a Mon Sep 17 00:00:00 2001 From: William Brown Date: Mar 25 2020 00:25:23 +0000 Subject: Ticket 50971 - fix BSD_SOURCE Bug Description: BSD_SOURCE is deprecated for DEFAULT_SOURCE Fix Description: Use DEFAULT_SOURCE instead. https://pagure.io/389-ds-base/issue/50971 Author: William Brown Review by: mreynolds (Thanks!) --- diff --git a/ldap/servers/plugins/pwdstorage/crypt_pwd.c b/ldap/servers/plugins/pwdstorage/crypt_pwd.c index 73c7680..9031b21 100644 --- a/ldap/servers/plugins/pwdstorage/crypt_pwd.c +++ b/ldap/servers/plugins/pwdstorage/crypt_pwd.c @@ -20,9 +20,9 @@ # ifndef __USE_XOPEN # define __USE_XOPEN /* linux */ # endif /* __USE_XOPEN */ -# ifndef _BSD_SOURCE -# define _BSD_SOURCE -# endif /* !defined(_BSD_SOURCE) */ +# ifndef _DEFAULT_SOURCE +# define _DEFAULT_SOURCE +# endif /* !defined(_DEFAULT_SOURCE) */ #endif #include #include