summaryrefslogtreecommitdiffstats
path: root/twcommon.h
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-09-25 18:25:20 +0200
committerDees Troy <dees_troy@teamw.in>2015-10-15 16:15:09 +0200
commit068c76888b1ef1b262c718e3df53ea7b5c06a959 (patch)
treed6ca7ce807c378709afbbe7111390a2dc874aa2f /twcommon.h
parentImprove error handling for zip install (diff)
downloadandroid_bootable_recovery-068c76888b1ef1b262c718e3df53ea7b5c06a959.tar
android_bootable_recovery-068c76888b1ef1b262c718e3df53ea7b5c06a959.tar.gz
android_bootable_recovery-068c76888b1ef1b262c718e3df53ea7b5c06a959.tar.bz2
android_bootable_recovery-068c76888b1ef1b262c718e3df53ea7b5c06a959.tar.lz
android_bootable_recovery-068c76888b1ef1b262c718e3df53ea7b5c06a959.tar.xz
android_bootable_recovery-068c76888b1ef1b262c718e3df53ea7b5c06a959.tar.zst
android_bootable_recovery-068c76888b1ef1b262c718e3df53ea7b5c06a959.zip
Diffstat (limited to 'twcommon.h')
-rw-r--r--twcommon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/twcommon.h b/twcommon.h
index d54446f23..be243236f 100644
--- a/twcommon.h
+++ b/twcommon.h
@@ -10,6 +10,7 @@ extern "C" {
#define LOGERR(...) gui_print_color("error", "E:" __VA_ARGS__)
#define LOGINFO(...) fprintf(stdout, "I:" __VA_ARGS__)
#else
+#include <stdio.h>
#define LOGERR(...) printf("E:" __VA_ARGS__)
#define LOGINFO(...) printf("I:" __VA_ARGS__)
#define gui_print(...) printf( __VA_ARGS__ )