nsgml: Resolve symbol collision when building with SunStudio 12.1
[oweals/cde.git] / cde / programs / nsgmls / OutputCharStream.h
index e823eda02e82acd1d06e6c37fb7cb677e24b658b..f1c9bd3e3cefdd42061a295e720890ffd0e48f73 100644 (file)
@@ -16,7 +16,7 @@
  * details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  * Floor, Boston, MA 02110-1301 USA
  */
 #include "Owner.h"
 #include "CodingSystem.h"
 
+#if defined(__linux__) || defined(CSRG_BASED) || defined(sun)
+#include <streambuf>
+using namespace std;
+#else
 class streambuf;
+#endif
 
 #ifdef SP_NAMESPACE
 namespace SP_NAMESPACE {