diff options
Diffstat (limited to 'm4/utimens.m4')
| -rw-r--r-- | m4/utimens.m4 | 5 |
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 | |||
| 3 | dnl gives unlimited permission to copy and/or distribute it, | 3 | dnl gives unlimited permission to copy and/or distribute it, |
| 4 | dnl with or without modifications, as long as this notice is preserved. | 4 | dnl with or without modifications, as long as this notice is preserved. |
| 5 | 5 | ||
| 6 | dnl serial 10 | 6 | dnl serial 11 |
| 7 | 7 | ||
| 8 | AC_DEFUN([gl_UTIMENS], | 8 | AC_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 | ]])], |