Bug 648735 - Include sys/uio.h to get the definition of struct iovec; r=cjones
authorLandry Breuil <landry@openbsd.org>
Tue, 20 Sep 2011 13:23:04 +0100
changeset 78506 226136c5812e8a42c1c3ad1a20de7014445f14a3
parent 78505 bb924724a032cd1457aec0dc9d9a7579e66a0aeb
child 78507 7039bba56b10cda3fd921d33015d79cf74128a11
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscjones
bugs648735
milestone9.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 648735 - Include sys/uio.h to get the definition of struct iovec; r=cjones ipc/chromium/src/chrome/common/ipc_channel_posix.cc:396: error: variable 'iovec iov' has initializer but incomplete type
ipc/chromium/src/chrome/common/ipc_channel_posix.cc
--- a/ipc/chromium/src/chrome/common/ipc_channel_posix.cc
+++ b/ipc/chromium/src/chrome/common/ipc_channel_posix.cc
@@ -6,16 +6,17 @@
 
 #include <errno.h>
 #include <fcntl.h>
 #include <stddef.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/stat.h>
 #include <sys/un.h>
+#include <sys/uio.h>
 
 #include <string>
 #include <map>
 
 #include "base/command_line.h"
 #include "base/eintr_wrapper.h"
 #include "base/lock.h"
 #include "base/logging.h"