diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/blt_b2r2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blt_b2r2.c b/src/blt_b2r2.c index 7e17d04..0b62240 100644 --- a/src/blt_b2r2.c +++ b/src/blt_b2r2.c @@ -19,20 +19,20 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> #include "b2r2_blt.h" #define LOG_TAG "libblt_hw" #ifdef ANDROID -# define LOG_TAG "libblt_hw" # include <cutils/log.h> # define LOGE2(...) LOGE(__VA_ARGS__) # define LOGI2(...) LOGI(__VA_ARGS__) #else # define LOGE(format) fprintf(stderr, LOG_TAG format "\n") # define LOGE2(format, ...) fprintf(stderr, LOG_TAG format "\n", __VA_ARGS__) -# define LOGI2(...) printf(LOG_TAG format "\n", __VA_ARGS__) +# define LOGI2(format, ...) printf(LOG_TAG format "\n", __VA_ARGS__) #endif #define B2R2_BLT_DEV "/dev/b2r2_blt" |