aboutsummaryrefslogtreecommitdiffstats
path: root/m4/utimens.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/utimens.m4')
-rw-r--r--m4/utimens.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/utimens.m4 b/m4/utimens.m4
index 65617ac862c..3d31085fc6d 100644
--- a/m4/utimens.m4
+++ b/m4/utimens.m4
@@ -3,7 +3,7 @@ dnl This file is free software; the Free Software Foundation
3dnl gives unlimited permission to copy and/or distribute it, 3dnl gives unlimited permission to copy and/or distribute it,
4dnl with or without modifications, as long as this notice is preserved. 4dnl with or without modifications, as long as this notice is preserved.
5 5
6dnl serial 10 6dnl serial 11
7 7
8AC_DEFUN([gl_UTIMENS], 8AC_DEFUN([gl_UTIMENS],
9[ 9[
@@ -24,7 +24,8 @@ AC_DEFUN([gl_UTIMENS],
24#include <stddef.h> 24#include <stddef.h>
25#include <sys/times.h> 25#include <sys/times.h>
26#include <fcntl.h> 26#include <fcntl.h>
27]], [[ int fd = open ("conftest.file", O_RDWR); 27]GL_MDA_DEFINES],
28 [[int fd = open ("conftest.file", O_RDWR);
28 if (fd < 0) return 1; 29 if (fd < 0) return 1;
29 if (futimesat (fd, NULL, NULL)) return 2; 30 if (futimesat (fd, NULL, NULL)) return 2;
30 ]])], 31 ]])],