[Rprotobuf-commits] r440 - pkg/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon May 14 03:05:51 CEST 2012


Author: edd
Date: 2012-05-14 03:05:51 +0200 (Mon, 14 May 2012)
New Revision: 440

Modified:
   pkg/src/rprotobuf.h
Log:
additional #include needed for g++-4.7


Modified: pkg/src/rprotobuf.h
===================================================================
--- pkg/src/rprotobuf.h	2012-05-14 01:05:16 UTC (rev 439)
+++ pkg/src/rprotobuf.h	2012-05-14 01:05:51 UTC (rev 440)
@@ -2,7 +2,7 @@
 //
 // rprotobuf.h: R/C++ interface class library
 //
-// Copyright (C) 2009 - 2010 Dirk Eddelbuettel and Romain Francois
+// Copyright (C) 2009 - 2012  Dirk Eddelbuettel and Romain Francois
 //
 // This file is part of RProtoBuf.
 //
@@ -22,6 +22,7 @@
 #ifndef RPROTOBUF_H
 #define RPROTOBUF_H
 
+#include <unistd.h>	       // g++-4.7 wants this
 /* should we check this is available */
 #include <fcntl.h>
 /* FIXME: need to include some header file instead of this define */



More information about the Rprotobuf-commits mailing list