From 1f4df0b8daa426e402cb196769827302e362ad0e Mon Sep 17 00:00:00 2001 From: Gleb Popov <6yearold@gmail.com> Date: Sat, 12 Oct 2024 21:24:59 +0300 Subject: [PATCH] Define UUID_STR_LEN when building against ancient libuuid --- src/adldap/ad_interface.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/adldap/ad_interface.cpp b/src/adldap/ad_interface.cpp index 0fb6b734..4bd1ed50 100644 --- a/src/adldap/ad_interface.cpp +++ b/src/adldap/ad_interface.cpp @@ -66,6 +66,9 @@ #define MAX_DN_LENGTH 1024 #define MAX_PASSWORD_LENGTH 255 +#ifndef UUID_STR_LEN +#define UUID_STR_LEN 37 +#endif typedef struct sasl_defaults_gssapi { char *mech;