From ede1cf66682ae379346aa4681c5f6294f2b7e6a5 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 20 Aug 2024 15:04:28 +0100 Subject: [PATCH] Prototype for strchrnul() on platforms lacking one (OpenBSD) --- src/src/osfunctions.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/src/osfunctions.h b/src/src/osfunctions.h index f88210943..ec064bee6 100644 --- a/src/src/osfunctions.h +++ b/src/src/osfunctions.h @@ -41,4 +41,8 @@ extern int os_unsetenv(const uschar *); extern uschar *os_getcwd(uschar *, size_t); #endif +#ifndef EXIM_HAVE_STRCHRNUL +extern char * strchrnul(const char *, int); +#endif + /* End of osfunctions.h */ -- 2.30.2