From: Eric Blake Date: Wed, 3 Nov 2010 17:36:14 +0000 (-0600) Subject: utimens: fix broken m4 test X-Git-Tag: v0.1~3656 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=19e1b753376b35a593cd8a8ddb91aa08e314e785;p=gnulib.git utimens: fix broken m4 test * m4/utimens.m4 (gl_UTIMENS): Include correct headers. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 72475ef39..73e19daa9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-11-03 Eric Blake + + utimens: fix broken m4 test + * m4/utimens.m4 (gl_UTIMENS): Include correct headers. + 2010-10-28 Bruno Haible posix_spawn*, getdtablesize: Relax license. diff --git a/m4/utimens.m4 b/m4/utimens.m4 index 2baa25610..3e9cf3fd5 100644 --- a/m4/utimens.m4 +++ b/m4/utimens.m4 @@ -3,7 +3,7 @@ dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. -dnl serial 4 +dnl serial 5 AC_DEFUN([gl_UTIMENS], [ @@ -25,6 +25,7 @@ AC_DEFUN([gl_UTIMENS], AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include #include +#include ]], [[ int fd = open ("conftest.file", O_RDWR); if (fd < 0) return 1; if (futimesat (fd, NULL, NULL)) return 2;