X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Futils_config_cores.h;h=e22cbcfee29beecfbee593320efd8ac4ad6971b6;hb=da11ce02eb202b3e01d3e2d1b40f248a84430973;hp=c1b92d0a7ac989286d1768f48ae8437eed4ffe2f;hpb=c0f6e19a1a154f31ce085d0010c164cdef5fbe18;p=collectd.git diff --git a/src/utils_config_cores.h b/src/utils_config_cores.h index c1b92d0a..e22cbcfe 100644 --- a/src/utils_config_cores.h +++ b/src/utils_config_cores.h @@ -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 @@ -28,6 +28,12 @@ #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;