summaryrefslogtreecommitdiffstats
path: root/otafault/test.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-09-29 20:19:46 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-09-29 20:19:46 +0200
commit22101a05fdb4b567d53ca2e4ca309fa3a21a2618 (patch)
tree0a2f8c3ba3877f362e7ef1b63828a2b967a83ded /otafault/test.cpp
parentMerge "Integer overflow observed while formatting volume" am: 846f307c6f am: 4a20e8b68f am: 5f9defe3f2 (diff)
parentMerge "otafault: Clean up header inclusion." am: d9373cf621 am: ffc171c56d (diff)
downloadandroid_bootable_recovery-22101a05fdb4b567d53ca2e4ca309fa3a21a2618.tar
android_bootable_recovery-22101a05fdb4b567d53ca2e4ca309fa3a21a2618.tar.gz
android_bootable_recovery-22101a05fdb4b567d53ca2e4ca309fa3a21a2618.tar.bz2
android_bootable_recovery-22101a05fdb4b567d53ca2e4ca309fa3a21a2618.tar.lz
android_bootable_recovery-22101a05fdb4b567d53ca2e4ca309fa3a21a2618.tar.xz
android_bootable_recovery-22101a05fdb4b567d53ca2e4ca309fa3a21a2618.tar.zst
android_bootable_recovery-22101a05fdb4b567d53ca2e4ca309fa3a21a2618.zip
Diffstat (limited to 'otafault/test.cpp')
-rw-r--r--otafault/test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/otafault/test.cpp b/otafault/test.cpp
index 6514782bf..60c40e099 100644
--- a/otafault/test.cpp
+++ b/otafault/test.cpp
@@ -14,9 +14,10 @@
* limitations under the License.
*/
-#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
+#include <sys/stat.h>
+#include <sys/types.h>
#include <unistd.h>
#include "ota_io.h"