summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-12-30 13:36:30 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2014-12-30 13:36:30 +0100
commit0da6d563adb9679451a993c4aa0cd4e50e54949c (patch)
tree028f317cdd843f005a2edf3ffa16bfa4e0e563d1
parentam 8af7c5df: am a72512cd: Add O_CREAT option for open (diff)
parentam 538d7d83: Merge "Fix missing #includes in bootable/recovery." (diff)
downloadandroid_bootable_recovery-0da6d563adb9679451a993c4aa0cd4e50e54949c.tar
android_bootable_recovery-0da6d563adb9679451a993c4aa0cd4e50e54949c.tar.gz
android_bootable_recovery-0da6d563adb9679451a993c4aa0cd4e50e54949c.tar.bz2
android_bootable_recovery-0da6d563adb9679451a993c4aa0cd4e50e54949c.tar.lz
android_bootable_recovery-0da6d563adb9679451a993c4aa0cd4e50e54949c.tar.xz
android_bootable_recovery-0da6d563adb9679451a993c4aa0cd4e50e54949c.tar.zst
android_bootable_recovery-0da6d563adb9679451a993c4aa0cd4e50e54949c.zip
-rw-r--r--uncrypt/uncrypt.c1
-rw-r--r--verifier_test.cpp5
2 files changed, 4 insertions, 2 deletions
diff --git a/uncrypt/uncrypt.c b/uncrypt/uncrypt.c
index 7fb0989a7..7f1a01a80 100644
--- a/uncrypt/uncrypt.c
+++ b/uncrypt/uncrypt.c
@@ -39,6 +39,7 @@
// Recovery can take this block map file and retrieve the underlying
// file data to use as an update package.
+#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
diff --git a/verifier_test.cpp b/verifier_test.cpp
index 10a5ddaad..e2f3d105c 100644
--- a/verifier_test.cpp
+++ b/verifier_test.cpp
@@ -14,12 +14,13 @@
* limitations under the License.
*/
+#include <errno.h>
+#include <fcntl.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
-#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <fcntl.h>
#include "common.h"
#include "verifier.h"