summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-04-03 13:12:35 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-04-03 13:12:35 +1000
commit14e4fc659d17649a7575c5f6e53fce0c8927cb68 (patch)
tree29f7b1887e36f9091d949f781dd6858d09a141b6
parenta83758e5ab818c6f144f8b7e39f367bb122fd56b (diff)
png.h inclusion cleanup
No need to have it in the user header Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r--libtwin/twin_png.c1
-rw-r--r--libtwin/twin_png.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/libtwin/twin_png.c b/libtwin/twin_png.c
index 05bbd04..c3b09a6 100644
--- a/libtwin/twin_png.c
+++ b/libtwin/twin_png.c
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <png.h>
#include "twin_png.h"
diff --git a/libtwin/twin_png.h b/libtwin/twin_png.h
index dbbe595..ab1198a 100644
--- a/libtwin/twin_png.h
+++ b/libtwin/twin_png.h
@@ -23,8 +23,6 @@
#include <libtwin/twin.h>
-#include <png.h>
-
twin_pixmap_t *twin_png_to_pixmap(const char *filepath, twin_format_t fmt);
#endif /* _TWIN_PNG_H_ */