diff --git a/fb2png/fb.h b/fb2png/fb.h index 25922c83..b82acba2 100644 --- a/fb2png/fb.h +++ b/fb2png/fb.h @@ -37,6 +37,7 @@ struct fb { void* data; }; +void fb_dump(const struct fb* fb); int fb_save_png(const struct fb *fb, const char *path); #endif diff --git a/fb2png/fb2png.c b/fb2png/fb2png.c index a357b7fe..1123b053 100644 --- a/fb2png/fb2png.c +++ b/fb2png/fb2png.c @@ -17,13 +17,15 @@ * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include +#include +#include #include #include -#include #include #include -#include -#include +#include +#include #include "log.h" #include "fb2png.h" diff --git a/fb2png/log.h b/fb2png/log.h index 96e90d79..2b7cf8ce 100644 --- a/fb2png/log.h +++ b/fb2png/log.h @@ -21,6 +21,7 @@ #define __KYAN_LOG_H__ #include +#include #ifdef ANDROID_XXX diff --git a/fb2png/main.c b/fb2png/main.c index 84e08a96..235e958f 100644 --- a/fb2png/main.c +++ b/fb2png/main.c @@ -17,9 +17,12 @@ * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include + #include +#include #include +#include + #include "fb2png.h" #ifdef ANDROID