--- lrzsz-0.12.20.orig/lib/error.c	1998-04-26 15:20:52.000000000 +0200
+++ lrzsz-0.12.20/lib/error.c	2026-05-12 20:50:39.653570973 +0200
@@ -22,6 +22,7 @@ Foundation, Inc., 59 Temple Place - Suit
 #endif
 
 #include <stdio.h>
+#include <string.h>
 
 #if HAVE_VPRINTF || HAVE_DOPRNT || _LIBC
 # if __STDC__
@@ -73,7 +74,7 @@ extern char *program_name;
 
 # if HAVE_STRERROR
 #  ifndef strerror		/* On some systems, strerror is a macro */
-char *strerror ();
+char *strerror (int);
 #  endif
 # else
 static char *
