aboutsummaryrefslogtreecommitdiff
path: root/build/cxx/module.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/cxx/module.cxx')
-rw-r--r--build/cxx/module.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/build/cxx/module.cxx b/build/cxx/module.cxx
index a511757..6efc1ed 100644
--- a/build/cxx/module.cxx
+++ b/build/cxx/module.cxx
@@ -4,8 +4,7 @@
#include <build/cxx/module>
-#include <istream>
-#include <ext/stdio_filebuf.h>
+#include <butl/fdstream>
#include <build/path>
#include <build/scope>
@@ -17,6 +16,7 @@
#include <build/config/utility>
using namespace std;
+using namespace butl;
namespace build
{
@@ -68,9 +68,7 @@ namespace build
try
{
process pr (args, false, false, true);
-
- __gnu_cxx::stdio_filebuf<char> fb (pr.in_ofd, ios_base::in);
- istream is (&fb);
+ ifdstream is (pr.in_ofd);
bool r (getline (is, ver));