From: Andrew Tridgell Date: Wed, 15 Jan 2025 21:17:30 +0000 (+1100) Subject: fixed build error on ia64 NonStop X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=14f33837dc007ab68d6bff5a6ebc79742ef2148d;p=thirdparty%2Frsync.git fixed build error on ia64 NonStop it treats missing prototype as an error, not warning --- 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");