Index: tools/android/common/daemon.cc |
diff --git a/tools/android/common/daemon.cc b/tools/android/common/daemon.cc |
index 9eafdbce0520a0f346016f4640aa78f8a33b0624..699c615676fd37336e92976e0082b940ed65a10b 100644 |
--- a/tools/android/common/daemon.cc |
+++ b/tools/android/common/daemon.cc |
@@ -4,6 +4,7 @@ |
#include "tools/android/common/daemon.h" |
+#include <errno.h> |
#include <signal.h> |
#include <stdio.h> |
#include <sys/types.h> |
@@ -11,7 +12,6 @@ |
#include "base/command_line.h" |
#include "base/logging.h" |
-#include "base/posix/eintr_wrapper.h" |
namespace { |
@@ -25,7 +25,7 @@ void Exit(int unused) { |
void CloseFileDescriptor(int fd) { |
int old_errno = errno; |
- (void) HANDLE_EINTR(close(fd)); |
+ close(fd); |
errno = old_errno; |
} |