Module: kamailio
Branch: master
Commit: 3511e0a975395a14f48fe5b6d60435315f7638dc
URL:
https://github.com/kamailio/kamailio/commit/3511e0a975395a14f48fe5b6d604353…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-05-05T09:23:15+02:00
ndb_cassandra: update include paths as expected by thrift lib package
---
Modified: src/modules/ndb_cassandra/Cassandra.h
Modified: src/modules/ndb_cassandra/cassandra_types.h
Modified: src/modules/ndb_cassandra/thrift_wrapper.cpp
---
Diff:
https://github.com/kamailio/kamailio/commit/3511e0a975395a14f48fe5b6d604353…
Patch:
https://github.com/kamailio/kamailio/commit/3511e0a975395a14f48fe5b6d604353…
---
diff --git a/src/modules/ndb_cassandra/Cassandra.h
b/src/modules/ndb_cassandra/Cassandra.h
index 6e453d742e..210d7a9234 100644
--- a/src/modules/ndb_cassandra/Cassandra.h
+++ b/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 {
diff --git a/src/modules/ndb_cassandra/cassandra_types.h
b/src/modules/ndb_cassandra/cassandra_types.h
index 9150a5c0dd..1aaa871a4b 100644
--- a/src/modules/ndb_cassandra/cassandra_types.h
+++ b/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>
diff --git a/src/modules/ndb_cassandra/thrift_wrapper.cpp
b/src/modules/ndb_cassandra/thrift_wrapper.cpp
index 6f40241a59..0c6c4e4aa3 100644
--- a/src/modules/ndb_cassandra/thrift_wrapper.cpp
+++ b/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;