diff --git a/Makefile b/Makefile index 2a1a81c..77b07cd 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ man: docs/sowon.6.gz .PHONY: clean clean: - rm -r sowon build docs/sowon.6.gz + rm -rf sowon build docs/sowon.6.gz .PHONY: install install: all diff --git a/src/common.c b/src/common.c index b24b10d..6ee6b46 100644 --- a/src/common.c +++ b/src/common.c @@ -5,6 +5,7 @@ #endif #include +#include #include #define FPS 60 diff --git a/src/png2c.c b/src/png2c.c index 8b039c6..d103dd3 100644 --- a/src/png2c.c +++ b/src/png2c.c @@ -38,6 +38,7 @@ int main(int argc, char *argv[]) printf("#ifndef PNG_%s_H_\n", name); printf("#define PNG_%s_H_\n", name); + printf("#include \n"); printf("size_t %s_width = %d;\n", name, x); printf("size_t %s_height = %d;\n", name, y); printf("uint32_t %s_data[] = {", name);