summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
Diffstat (limited to 'ipc')
-rw-r--r--ipc/chromium/src/base/dir_reader_linux.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ipc/chromium/src/base/dir_reader_linux.h b/ipc/chromium/src/base/dir_reader_linux.h
index 530fe2e01..e0466fc4c 100644
--- a/ipc/chromium/src/base/dir_reader_linux.h
+++ b/ipc/chromium/src/base/dir_reader_linux.h
@@ -90,7 +90,10 @@ class DirReaderLinux {
private:
const int fd_;
- unsigned char buf_[512];
+ union {
+ linux_dirent dirent_;
+ unsigned char buf_[512];
+ };
size_t offset_, size_;
DISALLOW_COPY_AND_ASSIGN(DirReaderLinux);