From 85b6cb48e0f3bbf83420d9d4cd2d49049da64a87 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 11 Jun 2010 08:50:08 +0200 Subject: [PATCH] test-linkat: avoid failed assertion on "other" architectures * tests/test-linkat.c: Include , for declarations of stat, lstat, mkdir. Patch by John Rigby, to fix FTBFS on armel, powerpc, sparc: https://bugs.launchpad.net/bugs/591968 --- ChangeLog | 7 +++++++ tests/test-linkat.c | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0e27cc7ac..cab8f6c6f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2010-06-11 Jim Meyering + test-linkat: avoid failed assertion on "other" architectures + * tests/test-linkat.c: Include , for declarations of stat, + lstat, mkdir. Patch by John Rigby, to fix FTBFS on armel, powerpc, + sparc: https://bugs.launchpad.net/bugs/591968 + +2010-06-11 Jim Meyering + printf.m4: avoid autoconf's "Expanded Before Required" warning * m4/printf.m4 (gl_SNPRINTF_RETVAL_C99): Define using AC_DEFUN_ONCE, rather than AC_DEFUN, to avoid the classic "Expanded Before Required" diff --git a/tests/test-linkat.c b/tests/test-linkat.c index 1dbfad527..cee1c9972 100644 --- a/tests/test-linkat.c +++ b/tests/test-linkat.c @@ -29,6 +29,7 @@ SIGNATURE_CHECK (linkat, int, (int, char const *, int, char const *, int)); #include #include #include +#include #include "areadlink.h" #include "filenamecat.h" -- 2.11.0