Following on from commit
032bd151, include header files required
on OS X 10.10 (Yosemite) at least.
* lib/symlinkat.c (HAVE_SYMLINK_AT): Add <sys/stat.h> for fstatat(),
and string.h for strlen().
Reported at https://savannah.gnu.org/bugs/index.php?44151
and by Jack Howarth.
+2015-02-02 Andreas Gruenbacher <agruen@gnu.org>
+
+ symlinkat: include all required header files
+ * lib/symlinkat.c (HAVE_SYMLINK_AT): Add <sys/stat.h> for fstatat(),
+ and string.h for strlen(), required at least on OS X 10.10 (Yosemite).
+ Reported at https://savannah.gnu.org/bugs/index.php?44151
+ and by Jack Howarth.
+
2015-01-29 Pádraig Brady <P@draigBrady.com>
localename: support Solaris 12 and illumos
#if HAVE_SYMLINKAT
# undef symlinkat
+#include <sys/stat.h>
+#include <string.h>
+
/* Create a symlink, but reject trailing slash. */
int
rpl_symlinkat (char const *contents, int fd, char const *name)