Include cstring header on image_png.hpp

Compilation was failing with the "enable png" flag. This was happening
because the memcpy function was being called without the inclusion of
cstring, which declares it. This fixes it.
This commit is contained in:
Rei 2016-11-05 04:40:40 -02:00
parent 61832c0a7c
commit f42cd7b2eb

View File

@ -2,6 +2,7 @@
#define NANA_PAINT_DETAIL_IMAGE_PNG_HPP
#include "image_pixbuf.hpp"
#include <cstring>
//Separate the libpng from the package that system provides.
#if defined(NANA_LIBPNG)