aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/common
diff options
context:
space:
mode:
authorJérôme de Bretagne <[email protected]>2015-04-03 00:20:03 +0200
committerZandra Hird <[email protected]>2015-04-27 17:00:12 +0200
commit7e86d9dd50dc54a38e09bf9774f14276e7c55804 (patch)
tree732d26ab78a611bfb2bb4e0ec6744a6c8e677a98 /erts/etc/common
parent861145a503c77d8144033f38d288bdda31699edd (diff)
downloadotp-7e86d9dd50dc54a38e09bf9774f14276e7c55804.tar.gz
otp-7e86d9dd50dc54a38e09bf9774f14276e7c55804.tar.bz2
otp-7e86d9dd50dc54a38e09bf9774f14276e7c55804.zip
Fix cross compilation for Android
Diffstat (limited to 'erts/etc/common')
-rw-r--r--erts/etc/common/run_erl_common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/etc/common/run_erl_common.c b/erts/etc/common/run_erl_common.c
index 20b78eb05e..ab420e3bee 100644
--- a/erts/etc/common/run_erl_common.c
+++ b/erts/etc/common/run_erl_common.c
@@ -32,6 +32,10 @@
#include <time.h>
#include <unistd.h>
+#ifdef __ANDROID__
+# include <termios.h>
+#endif
+
#ifdef HAVE_SYSLOG_H
# include <syslog.h>
#endif