Fix build on Android x86
In the Android x86 NDK, the termios2 struct is already defined.
On ARM, it isn't defined until android-21, which is not what we
build against by default.
We should probably look for a more robust solution to this, to
support platforms where this is defined, but for now the main
issue is fixing the build.
Change-Id: I6084a90f664f9f778e6d1689106a3fb9a7ad0b2f
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
| commit | 13fa77f5cbbc7d5d717c3663512b904bba8c106c |
| parent | 2575d33fab4042baba67384f92119c58c0ce0245 |
| author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com> |
| committer | Jani Heikkinen <jani.heikkinen@theqtcompany.com> |
| commit time | Fri, 6 Nov 2015 21:27:15 +0000 |