about summary refs log tree commit diff
path: root/support/support.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/support.h')
-rw-r--r--support/support.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/support/support.h b/support/support.h
index 9cbc455720..2e477c9e7c 100644
--- a/support/support.h
+++ b/support/support.h
@@ -23,6 +23,7 @@
 #ifndef SUPPORT_H
 #define SUPPORT_H
 
+#include <stdbool.h>
 #include <stddef.h>
 #include <sys/cdefs.h>
 /* For mode_t.  */
@@ -129,6 +130,10 @@ extern void support_copy_file (const char *from, const char *to);
 extern ssize_t support_copy_file_range (int, off64_t *, int, off64_t *,
 					size_t, unsigned int);
 
+/* Return true is PATH supports 64-bit time_t interfaces for file
+   operations (such as fstatat or utimensat).  */
+extern bool support_path_support_time64 (const char *path);
+
 __END_DECLS
 
 #endif /* SUPPORT_H */