mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
IWYU update (FreeBSD)
This commit is contained in:

committed by
BenBE

parent
7cf5277594
commit
f5c3349bdb
13
Affinity.h
13
Affinity.h
@ -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
|
||||
|
Reference in New Issue
Block a user