Prototype for strchrnul() on platforms lacking one (OpenBSD)
authorJeremy Harris <jgh146exb@wizmail.org>
Tue, 20 Aug 2024 14:04:28 +0000 (15:04 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Tue, 20 Aug 2024 14:06:51 +0000 (15:06 +0100)
src/src/osfunctions.h

index f88210943151238cdf4a9f9c91ac159bf28b6627..ec064bee6595b458eb0740d40f2aeb388cefd89e 100644 (file)
@@ -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 */