From 465234f87ecb9d08ab36c92112d14c5d9f5aa084 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 16 Jan 2025 08:17:30 +1100 Subject: [PATCH] fixed build error on ia64 NonStop it treats missing prototype as an error, not warning --- popt/findme.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/popt/findme.c b/popt/findme.c index 49fc9f6f..406d66b2 100644 --- a/popt/findme.c +++ b/popt/findme.c @@ -9,6 +9,10 @@ #include "system.h" #include "findme.h" +#ifndef HAVE_STRLCPY +size_t strlcpy(char *d, const char *s, size_t bufsize); +#endif + const char * findProgramPath(const char * argv0) { char * path = getenv("PATH"); -- 2.47.2