[BACK]Return to patch-src_gen.cpp CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / xye / patches

File: [cvs.NetBSD.org] / pkgsrc / games / xye / patches / patch-src_gen.cpp (download)

Revision 1.1, Mon Apr 29 21:31:11 2013 UTC (10 years, 9 months ago) by joerg
Branch: MAIN

Add a number of includes hidden by libstdc++'s name space pollution.

$NetBSD: patch-src_gen.cpp,v 1.1 2013/04/29 21:31:11 joerg Exp $

--- src/gen.cpp.orig	2013-04-29 18:55:25.000000000 +0000
+++ src/gen.cpp
@@ -19,6 +19,7 @@ Permission is granted to anyone to use t
 #include "gen.h"
 #include "vxsdl.h"
 #include<cstdio>
+#include<ctime>
 
 const float F_RAND_MAX = (float)(RAND_MAX);