From 1976e85730c92160121c042338eea807f075338c Mon Sep 17 00:00:00 2001 From: Tom Tan Date: Wed, 4 Dec 2024 16:46:30 -0800 Subject: [PATCH] [Geneva] Inlucde UDS header for Linux only --- exporters/geneva/src/exporter.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exporters/geneva/src/exporter.cc b/exporters/geneva/src/exporter.cc index 274bc556e..562a586e3 100644 --- a/exporters/geneva/src/exporter.cc +++ b/exporters/geneva/src/exporter.cc @@ -3,9 +3,10 @@ #include "opentelemetry/exporters/geneva/metrics/exporter.h" #include "opentelemetry/exporters/geneva/metrics/macros.h" -#include "opentelemetry/exporters/geneva/metrics/unix_domain_socket_data_transport.h" #ifdef _WIN32 #include "opentelemetry/exporters/geneva/metrics/etw_data_transport.h" +#else +#include "opentelemetry/exporters/geneva/metrics/unix_domain_socket_data_transport.h" #endif #include "opentelemetry/sdk/metrics/export/metric_producer.h" #include "opentelemetry/sdk_config.h"