]> granicus.if.org Git - sysstat/commitdiff
sadf: PCP: Include pcp/impl.h file
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 6 Apr 2019 07:11:19 +0000 (09:11 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 6 Apr 2019 07:11:19 +0000 (09:11 +0200)
Fix "undefined reference to pmInDom_build() function" error that could
happen on some machines.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
pcp_def_metrics.c

index 3d2261535685c484a69790db15cd5036b7983b8d..0b6f7822ee3a987664add2a9995e6aca8c517bf1 100644 (file)
@@ -25,6 +25,7 @@
 
 #ifdef HAVE_PCP
 #include <pcp/pmapi.h>
+#include <pcp/impl.h>
 #include <pcp/import.h>
 #endif