summaryrefslogtreecommitdiffstats
path: root/toolbox/cmp.c
diff options
context:
space:
mode:
authorOlivier Bailly <olivier@google.com>2010-11-17 11:47:23 -0800
committerOlivier Bailly <olivier@google.com>2010-11-17 11:47:23 -0800
commitb93e5812faffd3b6c5fb349072413aace31918d8 (patch)
treedbffdf9f41b914b32da131fbdd0eee435c2ec656 /toolbox/cmp.c
parent609d8828d3b8266a80606bf902d1294296962cf3 (diff)
downloadsystem_core-b93e5812faffd3b6c5fb349072413aace31918d8.zip
system_core-b93e5812faffd3b6c5fb349072413aace31918d8.tar.gz
system_core-b93e5812faffd3b6c5fb349072413aace31918d8.tar.bz2
Add missing headers for compilation on x86 targets
Change-Id: I5f4dc797b353a0f01fa00d38375ec303bf863254
Diffstat (limited to 'toolbox/cmp.c')
-rw-r--r--toolbox/cmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolbox/cmp.c b/toolbox/cmp.c
index 9bd2e19..80635ad 100644
--- a/toolbox/cmp.c
+++ b/toolbox/cmp.c
@@ -2,6 +2,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
+#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <errno.h>