summaryrefslogtreecommitdiffstats
path: root/otafault/test.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-09-29 02:43:53 +0200
committerTao Bao <tbao@google.com>2017-09-29 03:25:04 +0200
commitac27a7a98733ea2444eedacfd2d8dd4a384726f6 (patch)
tree05c3940cf8aaf70876471a3478a681d2df6760d8 /otafault/test.cpp
parentMerge "roots: volume_for_path() parses and tries prefixes." (diff)
downloadandroid_bootable_recovery-ac27a7a98733ea2444eedacfd2d8dd4a384726f6.tar
android_bootable_recovery-ac27a7a98733ea2444eedacfd2d8dd4a384726f6.tar.gz
android_bootable_recovery-ac27a7a98733ea2444eedacfd2d8dd4a384726f6.tar.bz2
android_bootable_recovery-ac27a7a98733ea2444eedacfd2d8dd4a384726f6.tar.lz
android_bootable_recovery-ac27a7a98733ea2444eedacfd2d8dd4a384726f6.tar.xz
android_bootable_recovery-ac27a7a98733ea2444eedacfd2d8dd4a384726f6.tar.zst
android_bootable_recovery-ac27a7a98733ea2444eedacfd2d8dd4a384726f6.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"