[gcc r12-4167] [Ada] Add sys/time.h #include for QNX

Pierre-Marie de Rodat pmderodat@gcc.gnu.org
Tue Oct 5 08:24:01 GMT 2021


https://gcc.gnu.org/g:e3915b90ea98ded75ee0b0227d0771d2e12f592a

commit r12-4167-ge3915b90ea98ded75ee0b0227d0771d2e12f592a
Author: Corentin Gay <gay@adacore.com>
Date:   Tue Sep 7 14:18:06 2021 +0200

    [Ada] Add sys/time.h #include for QNX
    
    gcc/ada/
    
            * adaint.c (QNX): Add #include for sys/time.h.

Diff:
---
 gcc/ada/adaint.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c
index d4445f01b30..60cfa932990 100644
--- a/gcc/ada/adaint.c
+++ b/gcc/ada/adaint.c
@@ -98,6 +98,7 @@
 
 #ifdef __QNX__
 #include <sys/syspage.h>
+#include <sys/time.h>
 #endif
 
 #ifdef IN_RTS


More information about the Gcc-cvs mailing list