summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2019-08-26 14:01:13 -0400
committerSteve Dickson <steved@redhat.com>2019-08-26 14:02:15 -0400
commitd7c5fb33687f5c7418390ecc4135230220e2799e (patch)
treef0d5991108e1c12b050b42149597e291e44ba138 /tests
parent12700029e246d294bfbd81e6a2193cca317d097d (diff)
downloadnfs-utils-d7c5fb33687f5c7418390ecc4135230220e2799e.tar.gz
tests: add missing include for strerror(3P)nfs-utils-2-4-2-rc1
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@pks.im> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/statdb_dump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/statdb_dump.c b/tests/statdb_dump.c
index 92d63f2..3ac12bf 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>