From f42cd7b2eb726b56aa3f45a9e28b0554c6bfc386 Mon Sep 17 00:00:00 2001 From: Rei Date: Sat, 5 Nov 2016 04:40:40 -0200 Subject: [PATCH] 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. --- source/paint/detail/image_png.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/paint/detail/image_png.hpp b/source/paint/detail/image_png.hpp index 30ba18e5..940e8cac 100644 --- a/source/paint/detail/image_png.hpp +++ b/source/paint/detail/image_png.hpp @@ -2,6 +2,7 @@ #define NANA_PAINT_DETAIL_IMAGE_PNG_HPP #include "image_pixbuf.hpp" +#include //Separate the libpng from the package that system provides. #if defined(NANA_LIBPNG)