From 76fa3fe799b26520c78921d2df1d5fcf7232c4cf Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Mon, 22 Jan 2024 07:46:57 +0100 Subject: [PATCH] test(pull): fix build with shared libs Fix: #687 --- push/src/detail/label_encoder.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/push/src/detail/label_encoder.h b/push/src/detail/label_encoder.h index 4082b7ac..2713f7ee 100644 --- a/push/src/detail/label_encoder.h +++ b/push/src/detail/label_encoder.h @@ -3,11 +3,12 @@ #include #include "prometheus/labels.h" +#include "prometheus/detail/push_export.h" namespace prometheus { namespace detail { -void encodeLabel(std::ostream& os, const Label& label); +PROMETHEUS_CPP_PUSH_EXPORT void encodeLabel(std::ostream& os, const Label& label); } } // namespace prometheus \ No newline at end of file