Commit 5c321256 authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot 6

Switch uses of <sys/uio.h> to <folly/portability/SysUio.h>

Summary: Diff #13 of 14.

Reviewed By: mzlee

Differential Revision: D3116264

fbshipit-source-id: 80e498b7062f40d723e156901bf62a2101a6e6ba
parent 35fcff93
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#pragma once #pragma once
#include <sys/types.h> #include <sys/types.h>
#include <sys/uio.h>
#include <libaio.h> #include <libaio.h>
#include <atomic> #include <atomic>
...@@ -33,6 +32,7 @@ ...@@ -33,6 +32,7 @@
#include <folly/Portability.h> #include <folly/Portability.h>
#include <folly/Range.h> #include <folly/Range.h>
#include <folly/portability/SysUio.h>
namespace folly { namespace folly {
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include <cstring> #include <cstring>
#include <memory> #include <memory>
#include <limits> #include <limits>
#include <sys/uio.h>
#include <type_traits> #include <type_traits>
#include <boost/iterator/iterator_facade.hpp> #include <boost/iterator/iterator_facade.hpp>
...@@ -32,6 +31,7 @@ ...@@ -32,6 +31,7 @@
#include <folly/FBString.h> #include <folly/FBString.h>
#include <folly/Range.h> #include <folly/Range.h>
#include <folly/FBVector.h> #include <folly/FBVector.h>
#include <folly/portability/SysUio.h>
// Ignore shadowing warnings within this file, so includers can use -Wshadow. // Ignore shadowing warnings within this file, so includers can use -Wshadow.
#pragma GCC diagnostic push #pragma GCC diagnostic push
......
...@@ -17,13 +17,13 @@ ...@@ -17,13 +17,13 @@
#pragma once #pragma once
#include <memory> #include <memory>
#include <sys/uio.h>
#include <folly/io/IOBuf.h> #include <folly/io/IOBuf.h>
#include <folly/io/async/AsyncSocketBase.h> #include <folly/io/async/AsyncSocketBase.h>
#include <folly/io/async/DelayedDestruction.h> #include <folly/io/async/DelayedDestruction.h>
#include <folly/io/async/EventBase.h> #include <folly/io/async/EventBase.h>
#include <folly/io/async/ssl/OpenSSLPtrTypes.h> #include <folly/io/async/ssl/OpenSSLPtrTypes.h>
#include <folly/portability/SysUio.h>
#include <openssl/ssl.h> #include <openssl/ssl.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