bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Add missing header files


From: Andreas Gruenbacher
Subject: [PATCH] Add missing header files
Date: Sun, 1 Feb 2015 21:40:11 +0100

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

[Prev in Thread] Current Thread [Next in Thread]