diff mbox series

[7/9] support: Use 64 bit time_t routines on support_process_kill

Message ID 20230213171302.3045672-8-adhemerval.zanella@linaro.org
State New
Headers show
Series Use 64 bit time_t routines on support | expand

Commit Message

Adhemerval Zanella Netto Feb. 13, 2023, 5:13 p.m. UTC
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_subprocess.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/support/support_subprocess.c b/support/support_subprocess.c
index 41746f729f..7ff42dbb00 100644
--- a/support/support_subprocess.c
+++ b/support/support_subprocess.c
@@ -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 <stdio.h>
 #include <signal.h>
 #include <time.h>