[2/9] support: Use 64 bit time_t routines on support_stat_nanoseconds
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
Commit Message
The failure only shows if the system time is set past 2038.
Checked on i686-linux-gnu and on system emulated arm-linux-gnueabihf
with time set past y2038.
---
support/support_stat_nanoseconds.c | 3 +++
1 file changed, 3 insertions(+)
@@ -16,6 +16,9 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
+#define _FILE_OFFSET_BITS 64
+#define _TIME_BITS 64
+
#include <errno.h>
#include <fcntl.h>
#include <support/check.h>