summaryrefslogtreecommitdiff
path: root/src/system.hh.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/system.hh.in')
-rw-r--r--src/system.hh.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/system.hh.in b/src/system.hh.in
index 1f4a7d63..07598173 100644
--- a/src/system.hh.in
+++ b/src/system.hh.in
@@ -83,8 +83,8 @@ namespace std {
}
}
-typedef std::size_t istream_pos_type;
-typedef std::size_t ostream_pos_type;
+typedef std::streamoff istream_pos_type;
+typedef std::streamoff ostream_pos_type;
#else // ! (defined(__GNUG__) && __GNUG__ < 3)
@@ -119,7 +119,6 @@ typedef std::ostream::pos_type ostream_pos_type;
#if defined(HAVE_UNIX_PIPES)
#include <sys/types.h>
#include <sys/wait.h>
-#include "fdstream.h"
#endif
#if defined(HAVE_GETTEXT)
#include "gettext.h"
@@ -154,6 +153,9 @@ typedef std::ostream::pos_type ostream_pos_type;
#include <boost/foreach.hpp>
#include <boost/function.hpp>
#include <boost/intrusive_ptr.hpp>
+#include <boost/iostreams/stream.hpp>
+#include <boost/iostreams/write.hpp>
+#include <boost/iostreams/device/file_descriptor.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/operators.hpp>
#include <boost/optional.hpp>