fastboot: Include header for ostream_iterator and istream_iterator

This fixes the following compiler errors with gcc

storage.cpp:45:20: error: 'ostream_iterator' is not a member of 'std'
storage.cpp:50:10: error: 'istream_iterator' is not a member of 'std'

Change-Id: I570e332d100bb18e445644a9d57dc14d80f104b5
This commit is contained in:
Biswapriyo Nath 2023-06-13 00:28:14 +05:30
parent 1f876a81dd
commit 816480b56e

View file

@ -18,6 +18,7 @@
#include <android-base/logging.h>
#include <fstream>
#include <iterator>
#include "storage.h"
#include "util.h"
@ -62,4 +63,4 @@ FileLock ConnectedDevicesStorage::Lock() const {
LOG(FATAL) << "Cannot create directory: " << home_fastboot_path_;
}
return FileLock(devices_lock_path_);
}
}