Index: mojo/edk/system/channel_posix.cc |
diff --git a/mojo/edk/system/channel_posix.cc b/mojo/edk/system/channel_posix.cc |
index 72c559bf6aadf6305efa3f11d61862fab537b067..211314b4f092158f67f9430c90d9665ea16c21aa 100644 |
--- a/mojo/edk/system/channel_posix.cc |
+++ b/mojo/edk/system/channel_posix.cc |
@@ -5,7 +5,7 @@ |
#include "mojo/edk/system/channel.h" |
#include <errno.h> |
-#include <sys/uio.h> |
+#include <sys/socket.h> |
#include <algorithm> |
#include <deque> |
@@ -22,6 +22,10 @@ |
#include "mojo/edk/embedder/platform_channel_utils_posix.h" |
#include "mojo/edk/embedder/platform_handle_vector.h" |
+#if !defined(OS_NACL) |
+#include <sys/uio.h> |
+#endif |
+ |
namespace mojo { |
namespace edk { |