Index: mojo/edk/embedder/platform_channel_utils_posix.cc |
diff --git a/mojo/edk/embedder/platform_channel_utils_posix.cc b/mojo/edk/embedder/platform_channel_utils_posix.cc |
index 0bb8c62f71f6a343ef74d6ed3231baeb0853a8c5..d2a9b566c6af2eaa07906ebe1c2067beda7b58e6 100644 |
--- a/mojo/edk/embedder/platform_channel_utils_posix.cc |
+++ b/mojo/edk/embedder/platform_channel_utils_posix.cc |
@@ -6,13 +6,16 @@ |
#include <stddef.h> |
#include <sys/socket.h> |
-#include <sys/uio.h> |
#include <unistd.h> |
#include "base/logging.h" |
#include "base/posix/eintr_wrapper.h" |
#include "build/build_config.h" |
+#if !defined(OS_NACL) |
+#include <sys/uio.h> |
+#endif |
+ |
#if !defined(SO_PEEK_OFF) |
#define SO_PEEK_OFF 42 |
#endif |