1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

graphics/png2ico: #include <cstring>

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

View File

@ -1,10 +1,11 @@
--- png2ico.cpp.orig
--- png2ico.cpp.orig 2002-12-07 22:37:58 UTC
+++ png2ico.cpp
@@ -33,6 +33,7 @@
@@ -33,6 +33,8 @@ Notes about transparent and inverted pix
#include <cstdio>
+#include <cstring>
+#include <cstdlib>
#include <vector>
#include <climits>