summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/xstat.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xstat.in b/lib/xstat.in
index 90d1bcb03..72fd7f65d 100644
--- a/lib/xstat.in
+++ b/lib/xstat.in
@@ -31,6 +31,7 @@
extern int errno;
#endif
@BEGIN_LSTAT_ONLY@
+#include <string.h>
#if HAVE_STDLIB_H
# include <stdlib.h>