Switch uses of <sys/uio.h> to <folly/portability/SysUio.h>
authorChristopher Dykes <cdykes@fb.com>
Mon, 30 May 2016 23:05:20 +0000 (16:05 -0700)
committerFacebook Github Bot 6 <facebook-github-bot-6-bot@fb.com>
Mon, 30 May 2016 23:09:19 +0000 (16:09 -0700)
Summary: Diff #13 of 14.

Reviewed By: mzlee

Differential Revision: D3116264

fbshipit-source-id: 80e498b7062f40d723e156901bf62a2101a6e6ba

folly/experimental/io/AsyncIO.h
folly/io/IOBuf.h
folly/io/async/AsyncTransport.h

index 6a9ee6a4164e875c546a7d0e74c22a33522bc0bf..69d0a3063ec820a5f9ddccaaf7f746ad5a474149 100644 (file)
@@ -17,7 +17,6 @@
 #pragma once
 
 #include <sys/types.h>
-#include <sys/uio.h>
 #include <libaio.h>
 
 #include <atomic>
@@ -33,6 +32,7 @@
 
 #include <folly/Portability.h>
 #include <folly/Range.h>
+#include <folly/portability/SysUio.h>
 
 namespace folly {
 
index 318782b4353884ed777ccfbac7279e9eb9c87e01..1fb26b974145e75500171863f60e4e4bb01f23b3 100644 (file)
@@ -24,7 +24,6 @@
 #include <cstring>
 #include <memory>
 #include <limits>
-#include <sys/uio.h>
 #include <type_traits>
 
 #include <boost/iterator/iterator_facade.hpp>
@@ -32,6 +31,7 @@
 #include <folly/FBString.h>
 #include <folly/Range.h>
 #include <folly/FBVector.h>
+#include <folly/portability/SysUio.h>
 
 // Ignore shadowing warnings within this file, so includers can use -Wshadow.
 #pragma GCC diagnostic push
index 07e67833fedd76514457b474eb6526df24bbc539..d421bb6be95709763cea7d46aa89779934b40304 100644 (file)
 #pragma once
 
 #include <memory>
-#include <sys/uio.h>
 
 #include <folly/io/IOBuf.h>
 #include <folly/io/async/AsyncSocketBase.h>
 #include <folly/io/async/DelayedDestruction.h>
 #include <folly/io/async/EventBase.h>
 #include <folly/io/async/ssl/OpenSSLPtrTypes.h>
+#include <folly/portability/SysUio.h>
 
 #include <openssl/ssl.h>