aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Gay <gay@adacore.com>2021-09-20 17:27:37 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2021-10-05 08:20:06 +0000
commit8ae054eaaee1cdd61c1d33c9d2e4744599c36794 (patch)
treeca3621da78628476541bd0198af2383e5232572a
parentc46dffc657bc7a057a4041f681905bc5b0ae7b37 (diff)
downloadgcc-8ae054eaaee1cdd61c1d33c9d2e4744599c36794.zip
gcc-8ae054eaaee1cdd61c1d33c9d2e4744599c36794.tar.gz
gcc-8ae054eaaee1cdd61c1d33c9d2e4744599c36794.tar.bz2
[Ada] Include errno.h in QNX specific part of the signal handling
gcc/ada/ * init.c (QNX): Add #include errno.h.
-rw-r--r--gcc/ada/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/init.c b/gcc/ada/init.c
index 2bbb601..dbd8516 100644
--- a/gcc/ada/init.c
+++ b/gcc/ada/init.c
@@ -2551,6 +2551,7 @@ __gnat_install_handler (void)
#include <signal.h>
#include <unistd.h>
#include <string.h>
+#include <errno.h>
#include "sigtramp.h"
void