summaryrefslogtreecommitdiff
path: root/host
diff options
context:
space:
mode:
authorAlex Suykov <alex.suykov@gmail.com>2016-01-05 11:51:55 +0200
committerchrome-bot <chrome-bot@chromium.org>2017-06-28 00:59:00 -0700
commit074697374b452d44450d0108d598ad001dc2d90d (patch)
treee73c5db97b0c3e769b025ec7d398dafd2d3d4436 /host
parent10e76bd2356ea69dcafaba2af60f63b6b33373fc (diff)
downloadvboot-074697374b452d44450d0108d598ad001dc2d90d.tar.gz
host lib: include <sys/types.h> for ssize_tstabilize-9693.B
In uClibc neither <stdio.h> nor <strings.h> defines ssize_t. Change-Id: I7fb6a0f51eae76062784952beb42298c486461b5 Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Reviewed-on: https://chromium-review.googlesource.com/320472 Commit-Ready: Stefan Reinauer <reinauer@google.com> Tested-by: Stefan Reinauer <reinauer@google.com> Reviewed-by: Stefan Reinauer <reinauer@google.com>
Diffstat (limited to 'host')
-rw-r--r--host/lib/fmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/fmap.c b/host/lib/fmap.c
index c95338db..347eef19 100644
--- a/host/lib/fmap.c
+++ b/host/lib/fmap.c
@@ -6,6 +6,7 @@
#include <stdio.h>
#include <string.h>
+#include <sys/types.h>
#include "fmap.h"