aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sigtramp-armdroid.c
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2015-11-13 12:18:17 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2015-11-13 12:18:17 +0100
commit4e9ee5951c4be406f440245583ee8770a5807e2a (patch)
treeb7e91134756cbe01e7e670535cf4f42b0d0b0514 /gcc/ada/sigtramp-armdroid.c
parent746fb0c5cdf236c1953dc2cf883efe28dbb1149c (diff)
downloadgcc-4e9ee5951c4be406f440245583ee8770a5807e2a.zip
gcc-4e9ee5951c4be406f440245583ee8770a5807e2a.tar.gz
gcc-4e9ee5951c4be406f440245583ee8770a5807e2a.tar.bz2
[multiple changes]
2015-11-13 Ed Schonberg <schonberg@adacore.com> * sem_ch4.adb (Constant_Indexing_OK): If the indexing is the prefix of a procedure call assume that constant indexing is not chosen. 2015-11-13 Eric Botcazou <ebotcazou@adacore.com> * sigtramp.h: Fix formatting throughout, do not include other headers, add missing preprocessor condition and 'extern' keywords. * sigtramp-armdroid.c: Include <sys/ucontext.h>. * init.c [Android]: Likewise. From-SVN: r230304
Diffstat (limited to 'gcc/ada/sigtramp-armdroid.c')
-rw-r--r--gcc/ada/sigtramp-armdroid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ada/sigtramp-armdroid.c b/gcc/ada/sigtramp-armdroid.c
index a538064..d4f61b6 100644
--- a/gcc/ada/sigtramp-armdroid.c
+++ b/gcc/ada/sigtramp-armdroid.c
@@ -33,6 +33,8 @@
* ARM-Android version of the __gnat_sigtramp service *
******************************************************/
+#include <sys/ucontext.h>
+
#include "sigtramp.h"
/* See sigtramp.h for a general explanation of functionality. */