freebsd-ports/graphics/png2ico/files/patch-png2ico.cpp
John Marino af30c6fc5a graphics/png2ico: #include <cstring>
This is fallout from png upgrade.  Modern GCC needs <cstring> for memset,
although clang seems to be happy without it.
2015-01-03 02:05:41 +00:00

11 lines
224 B
C++

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