From: Jeremy Harris Date: Tue, 23 Mar 2021 00:39:54 +0000 (+0000) Subject: Avoid building routines calling other not incuded in utilities link stage X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/44c16250ddbeef7b3c93cde26f97164f5d6c85bc Avoid building routines calling other not incuded in utilities link stage This should fix a Solaris build error probably inserted by 92583637b2 --- diff --git a/src/src/functions.h b/src/src/functions.h index 83fad740b..f1e5b466e 100644 --- a/src/src/functions.h +++ b/src/src/functions.h @@ -966,6 +966,7 @@ g->s = s; } +# ifndef COMPILE_UTILITY /******************************************************************************/ /* Use store_malloc for DNSA structs, and explicit frees. Using the same pool for them as the strings we proceed to copy from them meant they could not be @@ -993,7 +994,6 @@ store_free_3(dnsa, CCS func, line); /******************************************************************************/ /* Routines with knowledge of spool layout */ -# ifndef COMPILE_UTILITY static inline void spool_pname_buf(uschar * buf, int len) {