set _GNU_SOURCE in ldap_resource.c

Sat, 18 Mar 2023 11:07:12 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 18 Mar 2023 11:07:12 +0100
changeset 475
d01ea909d906
parent 474
eb7640c59e9b
child 476
477cbeec7b0b

set _GNU_SOURCE in ldap_resource.c

src/server/daemon/ldap_resource.c file | annotate | diff | comparison | revisions
--- a/src/server/daemon/ldap_resource.c	Sat Mar 18 11:05:40 2023 +0100
+++ b/src/server/daemon/ldap_resource.c	Sat Mar 18 11:07:12 2023 +0100
@@ -26,6 +26,10 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifdef __gnu_linux__
+#define _GNU_SOURCE
+#endif
+
 #include "ldap_resource.h"
 
 #include "../util/util.h"

mercurial