pkgsrc/misc/celestia/patches/patch-src_celengine_texture.cpp
2013-02-17 09:39:09 +00:00

14 lines
340 B
C++

$NetBSD: patch-src_celengine_texture.cpp,v 1.1 2013/02/17 09:39:09 dholland Exp $
Fix build with png 1.6.
--- src/celengine/texture.cpp~ 2004-02-22 00:35:52.000000000 +0000
+++ src/celengine/texture.cpp
@@ -27,6 +27,7 @@
#include <fstream>
#include <cstdlib>
#include <cstdio>
+#include <cstring>
#include <cassert>
#ifndef _WIN32