1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

graphics/apngdis: #include <cstring>

This is fallout from png upgrade.  Modern GCC needs <cstring> for memcpy,
although clang seems to be happy without it.
This commit is contained in:
John Marino 2015-01-03 02:37:44 +00:00
parent af30c6fc5a
commit 400b47840a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376079

View File

@ -0,0 +1,10 @@
--- apngdis.cpp.orig 2015-01-03 02:18:00 UTC
+++ apngdis.cpp
@@ -30,6 +30,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <vector>
+#include <cstring>
#include "png.h" /* original (unpatched) libpng is ok */
#include "zlib.h"
using namespace std;