浏览代码

ndb_cassandra: update include paths as expected by thrift lib package

(cherry picked from commit 3511e0a975395a14f48fe5b6d60435315f7638dc)
Daniel-Constantin Mierla 4 年之前
父节点
当前提交
b2d6fefef1

+ 1 - 1
src/modules/ndb_cassandra/Cassandra.h

@@ -6,7 +6,7 @@
 #ifndef Cassandra_H
 #define Cassandra_H
 
-#include <TProcessor.h>
+#include <thrift/TProcessor.h>
 #include "cassandra_types.h"
 
 namespace org { namespace apache { namespace cassandra {

+ 4 - 4
src/modules/ndb_cassandra/cassandra_types.h

@@ -6,10 +6,10 @@
 #ifndef cassandra_TYPES_H
 #define cassandra_TYPES_H
 
-#include <Thrift.h>
-#include <TApplicationException.h>
-#include <protocol/TProtocol.h>
-#include <transport/TTransport.h>
+#include <thrift/Thrift.h>
+#include <thrift/TApplicationException.h>
+#include <thrift/protocol/TProtocol.h>
+#include <thrift/transport/TTransport.h>
 
 
 

+ 7 - 7
src/modules/ndb_cassandra/thrift_wrapper.cpp

@@ -1,11 +1,11 @@
-#include "Thrift.h"
-#include "transport/TSocket.h"
-#include "transport/TTransport.h"
-#include "transport/TBufferTransports.h"
-#include "protocol/TProtocol.h"
-#include "protocol/TBinaryProtocol.h"
-#include "Cassandra.h"
+#include <thrift/Thrift.h>
+#include <thrift/transport/TSocket.h>
+#include <thrift/transport/TTransport.h>
+#include <thrift/transport/TBufferTransports.h>
+#include <thrift/protocol/TProtocol.h>
+#include <thrift/protocol/TBinaryProtocol.h>
 
+#include "Cassandra.h"
 #include "thrift_wrapper.h"
 
 using namespace std;