summaryrefslogtreecommitdiffstats
path: root/otafault/test.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-09-30 10:16:07 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-09-30 10:16:07 +0200
commitdcced3b73dbed8cd335abc63eef3988f4c92304f (patch)
tree40349fc60837486463f30cb4fba26f5491f0288e /otafault/test.cpp
parentrelease-request-fbd98711-169e-4972-a5f2-db043df00e09-for-git_pi-release-4367572 snap-temp-L13500000107248413 (diff)
parentMerge "otafault: Move to soong." am: 475794a9af am: 2812e5d16b am: 3af1827bb5 (diff)
downloadandroid_bootable_recovery-dcced3b73dbed8cd335abc63eef3988f4c92304f.tar
android_bootable_recovery-dcced3b73dbed8cd335abc63eef3988f4c92304f.tar.gz
android_bootable_recovery-dcced3b73dbed8cd335abc63eef3988f4c92304f.tar.bz2
android_bootable_recovery-dcced3b73dbed8cd335abc63eef3988f4c92304f.tar.lz
android_bootable_recovery-dcced3b73dbed8cd335abc63eef3988f4c92304f.tar.xz
android_bootable_recovery-dcced3b73dbed8cd335abc63eef3988f4c92304f.tar.zst
android_bootable_recovery-dcced3b73dbed8cd335abc63eef3988f4c92304f.zip
Diffstat (limited to 'otafault/test.cpp')
-rw-r--r--otafault/test.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/otafault/test.cpp b/otafault/test.cpp
index 6514782bf..63e2445af 100644
--- a/otafault/test.cpp
+++ b/otafault/test.cpp
@@ -14,12 +14,13 @@
* 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"
+#include "otafault/ota_io.h"
int main(int /* argc */, char** /* argv */) {
int fd = open("testdata/test.file", O_RDWR);