summaryrefslogtreecommitdiff
path: root/util/ectool_keyscan.c
diff options
context:
space:
mode:
authorAnatol Pomazau <anatol@google.com>2016-02-09 16:29:10 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-02-10 18:19:24 -0800
commite4565cca1a11031ac2a36f71cbed9cc804adde5e (patch)
tree1825b9ca1f7366b9680c483f2e6302db816a1fca /util/ectool_keyscan.c
parentc0c4402623506c9f0c532e05deb7d11ddbf17b2c (diff)
downloadchrome-ec-e4565cca1a11031ac2a36f71cbed9cc804adde5e.tar.gz
Add bionic compatibility
TEST=Build ectool for Android and run it BUG=None BRANCH=master Signed-off-by: Anatol Pomazau <anatol@google.com> Change-Id: I5f148adfc24591523a7d8c50817c8095072071c3 Reviewed-on: https://chromium-review.googlesource.com/327220 Commit-Ready: Anatol Pomazau <anatol@google.com> Tested-by: Anatol Pomazau <anatol@google.com> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'util/ectool_keyscan.c')
-rw-r--r--util/ectool_keyscan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/ectool_keyscan.c b/util/ectool_keyscan.c
index 6029e0b09a..8b398b145b 100644
--- a/util/ectool_keyscan.c
+++ b/util/ectool_keyscan.c
@@ -10,6 +10,7 @@
#include <termios.h>
#include <unistd.h>
#include <sys/stat.h>
+#include <endian.h>
#include "comm-host.h"
#include "keyboard_config.h"