From b96d6a5a1b750ca00a8a22243f01a6c5456ae237 Mon Sep 17 00:00:00 2001 From: Michael Polyntsov Date: Fri, 17 Nov 2023 16:19:43 +0000 Subject: [PATCH] mosquitto-auth-shadow: Define _GNU_SOURCE before using crypt_r In glibc crypt_r is available only if _GNU_SOURCE is defined, so defining it since we're going to compile with glibc --- mosquitto-auth-shadow/src/mosquitto_auth_shadow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mosquitto-auth-shadow/src/mosquitto_auth_shadow.c b/mosquitto-auth-shadow/src/mosquitto_auth_shadow.c index 575308e93..89bd1e0cb 100644 --- a/mosquitto-auth-shadow/src/mosquitto_auth_shadow.c +++ b/mosquitto-auth-shadow/src/mosquitto_auth_shadow.c @@ -11,6 +11,7 @@ * Erik Karlsson - initial implementation */ +#define _GNU_SOURCE #include #include #include