summaryrefslogtreecommitdiffstats
path: root/twcommon.h
diff options
context:
space:
mode:
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__ )