pcp
[Top] [All Lists]

[QA 1.1 PATCH]

To: PCP <pcp@xxxxxxxxxxx>
Subject: [QA 1.1 PATCH]
From: Alan Hoyt <ahoyt@xxxxxxxxxxxxx>
Date: Tue, 03 Jun 2003 14:58:36 -0500
Sender: pcp-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
for solaris ./src-oss compilation

- Alan -
--- torture_trace.c.orig        2003-06-03 19:43:36.270001000 +0000
+++ torture_trace.c     2003-06-03 19:07:39.420002000 +0000
@@ -7,10 +7,17 @@
 #include <sys/types.h>
 #include <time.h>
 
+#include <pcp/platform_defs.h>
+
+#ifdef IS_SOLARIS
+#include <sys/rtpriocntl.h>
+#include <sys/tspriocntl.h>
+#include <sys/processor.h>
+#else
 #include <sys/prctl.h>
+#endif
 
 #include <sys/wait.h>
-#include <pcp/platform_defs.h>
 
 #ifndef HAVE_SPROC
 
<Prev in Thread] Current Thread [Next in Thread>