Add some missing includes for IO functions.

The build was failing on GCC 4.8.0 and glibc 2.17 because unistd.h was not
being included despite read(2), pipe(2), write(2) and close(2) being used.

BUG=
TEST=Try to build using the setup described above.

Review URL: https://chromiumcodereview.appspot.com/14048011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194863 0039d316-1c4b-4281-b951-d872f2087c98
parent ec27c236
......@@ -234,3 +234,4 @@ Jun Jiang <jun.a.jiang@intel.com>
Bobby Powers <bobbypowers@gmail.com>
Patrick Riordan <patrickriordan177@gmail.com>
Kenneth Rohde Christiansen <kenneth.r.christiansen@intel.com>
Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
......@@ -8,6 +8,7 @@
#include <errno.h> // for errno and strerror_r
#include <algorithm>
#include <ostream>
#include <unistd.h> // For read, pipe, close and write.
#include <utility>
#include <vector>
......
......@@ -7,6 +7,7 @@
#include <errno.h>
#include <netinet/tcp.h>
#include <sys/socket.h>
#include <unistd.h>
#include <list>
#include <string>
......
......@@ -9,6 +9,7 @@
#include <string.h>
#include <sys/epoll.h>
#include <sys/socket.h>
#include <unistd.h>
#include "base/logging.h"
#include "net/quic/crypto/quic_random.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment