The function strerror(3P) is declared in <string.h>, but it is not included in "statdb_dump.c". Include it to fix compile errors. Signed-off-by: Patrick Steinhardt <ps@xxxxxx> --- tests/statdb_dump.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/statdb_dump.c b/tests/statdb_dump.c index 92d63f29..3ac12bff 100644 --- a/tests/statdb_dump.c +++ b/tests/statdb_dump.c @@ -23,6 +23,7 @@ #include "config.h" #endif +#include <string.h> #include <stdio.h> #include <errno.h> #include <arpa/inet.h> -- 2.23.0