aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-12-29 12:46:43 -0800
committerElliott Hughes <enh@google.com>2014-12-29 12:46:43 -0800
commitd4d4c2456ac6649f65fd561998b2cb8eb2c97edd (patch)
tree1f367ec3ac66fe6c8dc6aefbf45f124ee0f0b5ef
parentc43b17f0adac1092e221ce6166ca8bc464090525 (diff)
downloadbootable_recovery-d4d4c2456ac6649f65fd561998b2cb8eb2c97edd.zip
bootable_recovery-d4d4c2456ac6649f65fd561998b2cb8eb2c97edd.tar.gz
bootable_recovery-d4d4c2456ac6649f65fd561998b2cb8eb2c97edd.tar.bz2
Fix missing #includes in bootable/recovery.
Change-Id: I58dfbac6ca1aa80d3659f53a8fad1bbbbdc9b941
-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 189fa57..e619237 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 10a5dda..e2f3d10 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"