Merge branch 'collectd-5.7' into collectd-5.8
[collectd.git] / src / utils_config_cores.h
index de79dde..e22cbcf 100644 (file)
@@ -1,7 +1,7 @@
 /**
  * collectd - src/utils_config_cores.h
  *
- * Copyright(c) 2017 Intel Corporation. All rights reserved.
+ * Copyright(c) 2018 Intel Corporation. All rights reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
 #ifndef UTILS_CONFIG_CORES_H
 #define UTILS_CONFIG_CORES_H 1
 
+#include "configfile.h"
+
+#ifndef PRIsz
+#define PRIsz "zu"
+#endif /* PRIsz */
+
 struct core_group_s {
   char *desc;
   unsigned *cores;
@@ -128,4 +134,3 @@ int config_cores_cmp_cgroups(const core_group_t *cg_a,
                              const core_group_t *cg_b);
 
 #endif /* UTILS_CONFIG_CORES_H */
-