OpenBSD patches for ttsnoop.
Mostly adding std:: for strstream interfaces.
This commit is contained in:
committed by
Jon Trulson
parent
76984653b4
commit
43bae997c8
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user