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:
parent
61832c0a7c
commit
f42cd7b2eb
@ -2,6 +2,7 @@
|
|||||||
#define NANA_PAINT_DETAIL_IMAGE_PNG_HPP
|
#define NANA_PAINT_DETAIL_IMAGE_PNG_HPP
|
||||||
|
|
||||||
#include "image_pixbuf.hpp"
|
#include "image_pixbuf.hpp"
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
//Separate the libpng from the package that system provides.
|
//Separate the libpng from the package that system provides.
|
||||||
#if defined(NANA_LIBPNG)
|
#if defined(NANA_LIBPNG)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user