IWYU update (FreeBSD)

This commit is contained in:
Christian Goettsche
2020-11-18 15:12:18 +01:00
committed by BenBE
parent 7cf5277594
commit f5c3349bdb
14 changed files with 63 additions and 52 deletions

View File

@ -8,18 +8,23 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
#include "config.h"
#include "config.h" // IWYU pragma: keep
#include "ProcessList.h"
#if defined(HAVE_LIBHWLOC) || defined(HAVE_LINUX_AFFINITY)
#include <stdbool.h>
#include "Object.h"
#include "Process.h"
#include "ProcessList.h"
#endif
#if defined(HAVE_LIBHWLOC) && defined(HAVE_LINUX_AFFINITY)
#error hwlock and linux affinity are mutual exclusive.
#error hwloc and linux affinity are mutual exclusive.
#endif
typedef struct Affinity_ {
ProcessList* pl;
int size;
@ -39,6 +44,6 @@ Affinity* Affinity_get(Process* proc, ProcessList* pl);
bool Affinity_set(Process* proc, Arg arg);
#endif
#endif /* HAVE_LIBHWLOC || HAVE_LINUX_AFFINITY */
#endif