Skip to content

Commit

Permalink
gmond plugin: Import <ganglia.h>.
Browse files Browse the repository at this point in the history
`<gm_protocol.h>` has been removed in new versions of libganglia.
  • Loading branch information
octo committed Nov 25, 2023
1 parent ee96176 commit 37691d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/gmond.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include <poll.h>
#endif

#include <gm_protocol.h>
#include <ganglia.h>

#ifndef IPV6_ADD_MEMBERSHIP
#ifdef IPV6_JOIN_GROUP
Expand Down

0 comments on commit 37691d2

Please sign in to comment.