OpenBSD patches for ttsnoop.

Mostly adding std:: for strstream interfaces.
This commit is contained in:
Pascal Stumpf
2012-08-11 14:12:47 +02:00
committed by Jon Trulson
parent 76984653b4
commit 43bae997c8
9 changed files with 43 additions and 43 deletions

View File

@@ -40,7 +40,7 @@
*** Add include files, types, macros, externs, and user functions here.
***/
#if defined(linux)
#if defined(linux) || defined(CSRG_BASED)
#include <strstream>
#else
#include <strstream.h>
@@ -371,7 +371,7 @@ DtTtPatternWidgetCreate(
}
}
ostrstream labelStream;
std::ostrstream labelStream;
labelStream << "Tt_pattern " << (void *)pat << ends;
XtVaSetValues( instance->patternProps,
XmNtitle, labelStream.str(),