NEWS.stable: update
[gnulib.git] / m4 / utimens.m4
index 35ef949..f2c755e 100644 (file)
@@ -1,10 +1,9 @@
-dnl Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free
-dnl Software Foundation, Inc.
+dnl Copyright (C) 2003-2011 Free Software Foundation, Inc.
 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],
 [
@@ -26,6 +25,7 @@ AC_DEFUN([gl_UTIMENS],
        AC_RUN_IFELSE([AC_LANG_PROGRAM([[
 #include <stddef.h>
 #include <sys/times.h>
+#include <fcntl.h>
 ]], [[    int fd = open ("conftest.file", O_RDWR);
           if (fd < 0) return 1;
           if (futimesat (fd, NULL, NULL)) return 2;