Add definition for PRIsz macro to make code backward compatible with
collectd-5.8 branch.
Change-Id: I880340af5ae883a444563422b3e9975b3693683c
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
* Serhiy Pshyk <serhiyx.pshyk@intel.com>
**/
-#include "common.h"
#include "collectd.h"
+#include "common.h"
#include "utils_config_cores.h"
#ifndef UTILS_CONFIG_CORES_H
#define UTILS_CONFIG_CORES_H 1
+#ifndef PRIsz
+#define PRIsz "zu"
+#endif /* PRIsz */
+
struct core_group_s {
char *desc;
unsigned *cores;