]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
fixed build error on ia64 NonStop
authorAndrew Tridgell <andrew@tridgell.net>
Wed, 15 Jan 2025 21:17:30 +0000 (08:17 +1100)
committerAndrew Tridgell <andrew@tridgell.net>
Thu, 16 Jan 2025 04:27:21 +0000 (15:27 +1100)
it treats missing prototype as an error, not warning

popt/findme.c

index 49fc9f6f095d4d686f454b42028c7d21e868139e..406d66b214ba1596aa16732384d0cbb8173b884d 100644 (file)
@@ -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");