summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/cpp/src/thrift/transport/TFDTransport.cpp6
-rw-r--r--lib/cpp/src/thrift/transport/TFileTransport.cpp10
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/cpp/src/thrift/transport/TFDTransport.cpp b/lib/cpp/src/thrift/transport/TFDTransport.cpp
index 0cadcb553..4e28c318b 100644
--- a/lib/cpp/src/thrift/transport/TFDTransport.cpp
+++ b/lib/cpp/src/thrift/transport/TFDTransport.cpp
@@ -20,9 +20,6 @@
#include <cerrno>
#include <exception>
-#include <thrift/transport/TFDTransport.h>
-#include <thrift/transport/PlatformSocket.h>
-
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
@@ -31,6 +28,9 @@
#include <io.h>
#endif
+#include <thrift/transport/TFDTransport.h>
+#include <thrift/transport/PlatformSocket.h>
+
using std::string;
namespace apache {
diff --git a/lib/cpp/src/thrift/transport/TFileTransport.cpp b/lib/cpp/src/thrift/transport/TFileTransport.cpp
index 3a24e3a22..dd7d22925 100644
--- a/lib/cpp/src/thrift/transport/TFileTransport.cpp
+++ b/lib/cpp/src/thrift/transport/TFileTransport.cpp
@@ -19,11 +19,6 @@
#include <thrift/thrift-config.h>
-#include <thrift/transport/TFileTransport.h>
-#include <thrift/transport/TTransportUtils.h>
-#include <thrift/transport/PlatformSocket.h>
-#include <thrift/concurrency/FunctionRunner.h>
-
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#else
@@ -49,6 +44,11 @@
#include <io.h>
#endif
+#include <thrift/transport/TFileTransport.h>
+#include <thrift/transport/TTransportUtils.h>
+#include <thrift/transport/PlatformSocket.h>
+#include <thrift/concurrency/FunctionRunner.h>
+
namespace apache {
namespace thrift {
namespace transport {