Browse code

ndb_cassandra: update include paths as expected by thrift lib package

(cherry picked from commit 3511e0a975395a14f48fe5b6d60435315f7638dc)

Daniel-Constantin Mierla authored on 05/05/2021 07:23:15
Showing 3 changed files
... ...
@@ -6,7 +6,7 @@
6 6
 #ifndef Cassandra_H
7 7
 #define Cassandra_H
8 8
 
9
-#include <TProcessor.h>
9
+#include <thrift/TProcessor.h>
10 10
 #include "cassandra_types.h"
11 11
 
12 12
 namespace org { namespace apache { namespace cassandra {
... ...
@@ -6,10 +6,10 @@
6 6
 #ifndef cassandra_TYPES_H
7 7
 #define cassandra_TYPES_H
8 8
 
9
-#include <Thrift.h>
10
-#include <TApplicationException.h>
11
-#include <protocol/TProtocol.h>
12
-#include <transport/TTransport.h>
9
+#include <thrift/Thrift.h>
10
+#include <thrift/TApplicationException.h>
11
+#include <thrift/protocol/TProtocol.h>
12
+#include <thrift/transport/TTransport.h>
13 13
 
14 14
 
15 15
 
... ...
@@ -1,11 +1,11 @@
1
-#include "Thrift.h"
2
-#include "transport/TSocket.h"
3
-#include "transport/TTransport.h"
4
-#include "transport/TBufferTransports.h"
5
-#include "protocol/TProtocol.h"
6
-#include "protocol/TBinaryProtocol.h"
7
-#include "Cassandra.h"
1
+#include <thrift/Thrift.h>
2
+#include <thrift/transport/TSocket.h>
3
+#include <thrift/transport/TTransport.h>
4
+#include <thrift/transport/TBufferTransports.h>
5
+#include <thrift/protocol/TProtocol.h>
6
+#include <thrift/protocol/TBinaryProtocol.h>
8 7
 
8
+#include "Cassandra.h"
9 9
 #include "thrift_wrapper.h"
10 10
 
11 11
 using namespace std;