[Rinside-commits] r227 - pkg/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Jan 9 02:58:08 CET 2012


Author: edd
Date: 2012-01-09 02:58:07 +0100 (Mon, 09 Jan 2012)
New Revision: 227

Modified:
   pkg/src/RInside.cpp
Log:
more headers for getpid()


Modified: pkg/src/RInside.cpp
===================================================================
--- pkg/src/RInside.cpp	2012-01-09 01:47:49 UTC (rev 226)
+++ pkg/src/RInside.cpp	2012-01-09 01:58:07 UTC (rev 227)
@@ -25,9 +25,13 @@
 
 RInside* RInside::instance_ = 0 ;
 
-#include <sys/time.h>           // gettimeofday
+#include <sys/time.h>           // gettimeofday()
 #include <stdint.h>		// uint64_t
+#include <sys/types.h>		// pid_t
+#include <unistd.h>		// getpid()
 
+
+
 bool verbose = false;
 const char *programName = "RInside";
 



More information about the Rinside-commits mailing list