diff options
Diffstat (limited to 'base/rand_util_posix.cc')
-rw-r--r-- | base/rand_util_posix.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/base/rand_util_posix.cc b/base/rand_util_posix.cc index 469f7af9bf..6a6e05ada8 100644 --- a/base/rand_util_posix.cc +++ b/base/rand_util_posix.cc @@ -13,7 +13,6 @@ #include "base/files/file_util.h" #include "base/lazy_instance.h" #include "base/logging.h" -#include "base/posix/eintr_wrapper.h" namespace { @@ -23,7 +22,7 @@ namespace { // we can use LazyInstance to handle opening it on the first access. class URandomFd { public: - URandomFd() : fd_(HANDLE_EINTR(open("/dev/urandom", O_RDONLY | O_CLOEXEC))) { + URandomFd() : fd_(open("/dev/urandom", O_RDONLY)) { DCHECK_GE(fd_, 0) << "Cannot open /dev/urandom: " << errno; } |