add conditional includes for sstream

This commit is contained in:
kuepper 2004-09-17 17:05:28 +00:00
commit 36af75bc94
2 changed files with 17 additions and 0 deletions

View file

@ -5,10 +5,18 @@
// An instance of a VERY simple Real-coded Genetic Algorithm
//
//-----------------------------------------------------------------------------
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// standard includes
#include <stdexcept> // runtime_error
#include <iostream> // cout
#ifdef HAVE_SSTREAM
#include <sstream>
#else
#include <strstream> // ostrstream, istrstream
#endif
// the general include for eo