From f0c047e1f40ee2214fe1f73dc3bdc6b0f6de5d85 Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Wed, 5 Feb 2003 07:59:09 +0000 Subject: - Changes for compiling with gcc 3.2 --- lib/psiprocess.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/psiprocess.cc') diff --git a/lib/psiprocess.cc b/lib/psiprocess.cc index d868820..ad1349d 100644 --- a/lib/psiprocess.cc +++ b/lib/psiprocess.cc @@ -21,8 +21,8 @@ * */ #include "psiprocess.h" -#include -#include + +#include #include using namespace std; @@ -63,13 +63,13 @@ getArgs() { const char *PsiProcess:: getProcId() { - ostrstream tmp; + ostringstream tmp; if (s5mx) tmp << name << ".$" << setw(2) << setfill('0') << pid << '\0'; else tmp << name << ".$" << pid << '\0'; - return tmp.str(); + return tmp.str().c_str(); } void PsiProcess:: -- cgit v1.2.3