aboutsummaryrefslogtreecommitdiffstats
path: root/m4/utimensat.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/utimensat.m4')
-rw-r--r--m4/utimensat.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/utimensat.m4 b/m4/utimensat.m4
index 2bc1bfebb5d..e9e4f26b1c1 100644
--- a/m4/utimensat.m4
+++ b/m4/utimensat.m4
@@ -1,4 +1,4 @@
1# serial 6 1# serial 7
2# See if we need to provide utimensat replacement. 2# See if we need to provide utimensat replacement.
3 3
4dnl Copyright (C) 2009-2020 Free Software Foundation, Inc. 4dnl Copyright (C) 2009-2020 Free Software Foundation, Inc.
@@ -23,7 +23,8 @@ AC_DEFUN([gl_FUNC_UTIMENSAT],
23#include <fcntl.h> 23#include <fcntl.h>
24#include <sys/stat.h> 24#include <sys/stat.h>
25#include <unistd.h> 25#include <unistd.h>
26]], [[int result = 0; 26]GL_MDA_DEFINES],
27 [[int result = 0;
27 const char *f = "conftest.file"; 28 const char *f = "conftest.file";
28 if (close (creat (f, 0600))) 29 if (close (creat (f, 0600)))
29 return 1; 30 return 1;