From: Florian Forster Date: Sat, 25 Nov 2023 16:35:27 +0000 (+0100) Subject: gmond plugin: Import ``. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffe78eb042e63097d2d7d4c25a289fabc0eacb13;p=thirdparty%2Fcollectd.git gmond plugin: Import ``. `` has been removed in new versions of libganglia. --- diff --git a/configure.ac b/configure.ac index bb4f560cf..234391a0a 100644 --- a/configure.ac +++ b/configure.ac @@ -2639,9 +2639,9 @@ CPPFLAGS="$CPPFLAGS $GANGLIA_CPPFLAGS" LDFLAGS="$LDFLAGS $GANGLIA_LDFLAGS" if test "x$with_libganglia" = "xyes"; then - AC_CHECK_HEADERS([gm_protocol.h], + AC_CHECK_HEADERS([ganglia.h], [with_libganglia="yes"], - [with_libganglia="no (gm_protocol.h not found)"] + [with_libganglia="no (ganglia.h not found)"] ) fi diff --git a/src/gmond.c b/src/gmond.c index 4210e30d0..9a5f80870 100644 --- a/src/gmond.c +++ b/src/gmond.c @@ -43,7 +43,7 @@ #include #endif -#include +#include #ifndef IPV6_ADD_MEMBERSHIP #ifdef IPV6_JOIN_GROUP