diff options
author | Andrew Duggan <aduggan@synaptics.com> | 2014-09-30 13:51:20 -0700 |
---|---|---|
committer | Andrew Duggan <aduggan@synaptics.com> | 2014-09-30 13:51:40 -0700 |
commit | 7f495fb82680116312f255d168e352e514802a69 (patch) | |
tree | 323d1a332cca171db39a2f3c5b23322d40c2c3c2 /f54test | |
parent | 11df808207981e176731d0763952b335cb4392be (diff) | |
download | rmi4utils-7f495fb82680116312f255d168e352e514802a69.tar.gz |
Fix Android build errors in f54test
Diffstat (limited to 'f54test')
-rw-r--r-- | f54test/display.cpp | 1 | ||||
-rw-r--r-- | f54test/main.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/f54test/display.cpp b/f54test/display.cpp index 00c4bfa..4777730 100644 --- a/f54test/display.cpp +++ b/f54test/display.cpp @@ -17,6 +17,7 @@ #include <stdio.h> #include <sys/ioctl.h> +#include <termios.h> #include <unistd.h> #include <string.h> diff --git a/f54test/main.cpp b/f54test/main.cpp index 447fb0a..8a1d29f 100644 --- a/f54test/main.cpp +++ b/f54test/main.cpp @@ -97,7 +97,7 @@ void SignalHandler(int p_signame) int main(int argc, char **argv) { - int rc; + int rc = 0; int opt; int index; char *deviceName = NULL; |