Index: base/test/launcher/test_launcher_nacl_nonsfi.cc |
diff --git a/base/test/launcher/test_launcher_nacl_nonsfi.cc b/base/test/launcher/test_launcher_nacl_nonsfi.cc |
index cf6bd94c8dc03ee882a7ec6b928b319e4c7646aa..d456ba26c72435686b0fe9c294f22d9b1eae7a9f 100644 |
--- a/base/test/launcher/test_launcher_nacl_nonsfi.cc |
+++ b/base/test/launcher/test_launcher_nacl_nonsfi.cc |
@@ -21,6 +21,11 @@ |
#include "base/test/launcher/unit_test_launcher.h" |
#include "base/test/test_switches.h" |
#include "base/test/test_timeouts.h" |
+#include "build/build_config.h" |
+ |
+#if defined(OS_POSIX) |
+#include "base/files/file_descriptor_watcher_posix.h" |
+#endif |
namespace base { |
@@ -139,6 +144,9 @@ int TestLauncherNonSfiMain(const std::string& test_binary) { |
TestTimeouts::Initialize(); |
base::MessageLoopForIO message_loop; |
+#if defined(OS_POSIX) |
+ FileDescriptorWatcher file_descriptor_watcher(&message_loop); |
+#endif |
NonSfiUnitTestPlatformDelegate platform_delegate; |
if (!platform_delegate.Init(test_binary)) { |