changeset 658:1975d5f63b34

fix for recent versions of protobuf
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 May 2025 11:18:43 +0200
parents f9e43680c480
children a40b6b48dbcd e4cf08a87f8c
files MySQL/Plugins/IndexPlugin.cpp Odbc/Plugins/IndexPlugin.cpp PostgreSQL/Plugins/IndexPlugin.cpp SQLite/Plugins/IndexPlugin.cpp
diffstat 4 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MySQL/Plugins/IndexPlugin.cpp	Thu Feb 27 09:14:30 2025 +0100
+++ b/MySQL/Plugins/IndexPlugin.cpp	Mon May 19 11:18:43 2025 +0200
@@ -31,6 +31,7 @@
 
 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 0)
 #  include <google/protobuf/any.h>
+#  include <google/protobuf/stubs/common.h>
 #endif
 
 #define ORTHANC_PLUGIN_NAME "mysql-index"
--- a/Odbc/Plugins/IndexPlugin.cpp	Thu Feb 27 09:14:30 2025 +0100
+++ b/Odbc/Plugins/IndexPlugin.cpp	Mon May 19 11:18:43 2025 +0200
@@ -47,6 +47,7 @@
 
 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 0)
 #  include <google/protobuf/any.h>
+#  include <google/protobuf/stubs/common.h>
 #endif
 
 
--- a/PostgreSQL/Plugins/IndexPlugin.cpp	Thu Feb 27 09:14:30 2025 +0100
+++ b/PostgreSQL/Plugins/IndexPlugin.cpp	Mon May 19 11:18:43 2025 +0200
@@ -29,6 +29,7 @@
 
 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 0)
 #  include <google/protobuf/any.h>
+#  include <google/protobuf/stubs/common.h>
 #endif
 
 #define ORTHANC_PLUGIN_NAME "postgresql-index"
--- a/SQLite/Plugins/IndexPlugin.cpp	Thu Feb 27 09:14:30 2025 +0100
+++ b/SQLite/Plugins/IndexPlugin.cpp	Mon May 19 11:18:43 2025 +0200
@@ -28,6 +28,7 @@
 
 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 0)
 #  include <google/protobuf/any.h>
+#  include <google/protobuf/stubs/common.h>
 #endif
 
 #define ORTHANC_PLUGIN_NAME "sqlite-index"