Reported at https://savannah.gnu.org/bugs/index.php?44151:
* lib/symlinkat.c: Add <sys/stat.h> for fstatat() and string.h for strlen().
---
 lib/symlinkat.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/symlinkat.c b/lib/symlinkat.c
index ce10d94..ec85114 100644
--- a/lib/symlinkat.c
+++ b/lib/symlinkat.c
@@ -18,8 +18,10 @@
 
 #include <config.h>
 
+#include <sys/stat.h>
 #include <unistd.h>
 #include <errno.h>
+#include <string.h>
 
 #if HAVE_SYMLINKAT
 # undef symlinkat
-- 
2.1.0


Reply via email to