| 1 | Patch-Source: https://gitlab.archlinux.org/archlinux/packaging/packages/netdata/-/blob/548041264400be8349055d05c76a76391dba3e43/protobuf-23.patch
|
| 2 | --
|
| 3 | diff --git a/src/aclk/schema-wrappers/alarm_stream.cc b/src/aclk/schema-wrappers/alarm_stream.cc
|
| 4 | index 29d80e3..7a51185 100644
|
| 5 | |
| 6 | |
| 7 | @@ -1,11 +1,11 @@
|
| 8 | // SPDX-License-Identifier: GPL-3.0-or-later
|
| 9 |
|
| 10 | -#include "alarm_stream.h"
|
| 11 | -
|
| 12 | #include "proto/alarm/v1/stream.pb.h"
|
| 13 |
|
| 14 | #include "libnetdata/libnetdata.h"
|
| 15 |
|
| 16 | +#include "alarm_stream.h"
|
| 17 | +
|
| 18 | #include "schema_wrapper_utils.h"
|
| 19 |
|
| 20 | using namespace alarms::v1;
|
| 21 | diff --git a/src/aclk/schema-wrappers/schema_wrapper_utils.h b/src/aclk/schema-wrappers/schema_wrapper_utils.h
|
| 22 | index 693a4ce..63bc11c 100644
|
| 23 | |
| 24 | |
| 25 | @@ -3,11 +3,12 @@
|
| 26 | #ifndef SCHEMA_WRAPPER_UTILS_H
|
| 27 | #define SCHEMA_WRAPPER_UTILS_H
|
| 28 |
|
| 29 | +#include <google/protobuf/timestamp.pb.h>
|
| 30 | +#include <google/protobuf/map.h>
|
| 31 | +
|
| 32 | #include "database/rrd.h"
|
| 33 |
|
| 34 | #include <sys/time.h>
|
| 35 | -#include <google/protobuf/timestamp.pb.h>
|
| 36 | -#include <google/protobuf/map.h>
|
| 37 |
|
| 38 | #if GOOGLE_PROTOBUF_VERSION < 3001000
|
| 39 | #define PROTO_COMPAT_MSG_SIZE(msg) (size_t)msg.ByteSize()
|