[Rcpp-commits] r2100 - in pkg/Rcpp: inst src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Sep 11 15:37:02 CEST 2010
Author: edd
Date: 2010-09-11 15:37:01 +0200 (Sat, 11 Sep 2010)
New Revision: 2100
Modified:
pkg/Rcpp/inst/ChangeLog
pkg/Rcpp/src/Date.cpp
Log:
trying once more to make Solaris happy
Modified: pkg/Rcpp/inst/ChangeLog
===================================================================
--- pkg/Rcpp/inst/ChangeLog 2010-09-10 12:39:00 UTC (rev 2099)
+++ pkg/Rcpp/inst/ChangeLog 2010-09-11 13:37:01 UTC (rev 2100)
@@ -1,3 +1,7 @@
+2010-09-11 Dirk Eddelbuettel <edd at debian.org>
+
+ * src/Date.cpp: Add include of unistd.h to make Solaris happy
+
2010-09-09 Dirk Eddelbuettel <edd at debian.org>
* DESCRIPTION: Release 0.8.6
Modified: pkg/Rcpp/src/Date.cpp
===================================================================
--- pkg/Rcpp/src/Date.cpp 2010-09-10 12:39:00 UTC (rev 2099)
+++ pkg/Rcpp/src/Date.cpp 2010-09-11 13:37:01 UTC (rev 2100)
@@ -176,12 +176,14 @@
#endif
#include "stdlib.h"
-
#include "stdint.h"
#include "stdio.h"
#include "fcntl.h"
#include "float.h" /* for FLT_MAX and DBL_MAX */
+#include <unistd.h> // solaris needs this for read() and close()
+
+
/* merged from private.h */
#define TYPE_BIT(type) (sizeof (type) * CHAR_BIT)
#define TYPE_SIGNED(type) (((type) -1) < 0)
More information about the Rcpp-commits
mailing list