[Rcpp-commits] r1754 - pkg/Rcpp/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Jun 27 19:28:13 CEST 2010


Author: edd
Date: 2010-06-27 19:28:13 +0200 (Sun, 27 Jun 2010)
New Revision: 1754

Modified:
   pkg/Rcpp/src/Datetime.cpp
Log:
added include for time.h to allow for Windows build


Modified: pkg/Rcpp/src/Datetime.cpp
===================================================================
--- pkg/Rcpp/src/Datetime.cpp	2010-06-27 17:06:33 UTC (rev 1753)
+++ pkg/Rcpp/src/Datetime.cpp	2010-06-27 17:28:13 UTC (rev 1754)
@@ -24,7 +24,8 @@
 
 #include <Rcpp/Datetime.h>
 #include <Rcpp/Function.h>
-#include <Rmath.h> // for Rf_fround
+#include <Rmath.h> 		// for Rf_fround
+#include <time.h>		// for gmtime
 
 namespace Rcpp {
 



More information about the Rcpp-commits mailing list