[XS] Change in ...nfs-ganesha[next]: Fix prometheus_exposure urcu inclusion
Matt Benjamin has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1248680?usp=email ) Change subject: Fix prometheus_exposure urcu inclusion ...................................................................... Fix prometheus_exposure urcu inclusion The system urcu compiler.h contains conditional c++ code, gated on #if defined __cplusplus. This breaks compilation when any of the urcu headers is directly or indirectly included within an extern "C" block. A solution is to include urcu headers, at c++ scope, before any extern "C" header inclusion can take place. Fixes compilation on Fedora 43. Change-Id: Iab9d8d793c8ca964a441fe41726493782e6c1b0d Signed-off-by: Matt Benjamin <mbenjamin@redhat.com> --- M src/monitoring/prometheus_exposer.cc 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/80/1248680/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1248680?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: Iab9d8d793c8ca964a441fe41726493782e6c1b0d Gerrit-Change-Number: 1248680 Gerrit-PatchSet: 1 Gerrit-Owner: Matt Benjamin <mbenjami@ibm.com>
participants (1)
-
Matt Benjamin (GerritHub)