From: Jeremy Harris Date: Tue, 20 Aug 2024 14:04:28 +0000 (+0100) Subject: Prototype for strchrnul() on platforms lacking one (OpenBSD) X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/ede1cf66682ae379346aa4681c5f6294f2b7e6a5?ds=sidebyside;hp=221f7d1e232ed26b674325adcfd3e30e3e2cf857 Prototype for strchrnul() on platforms lacking one (OpenBSD) --- 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 */