summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
authorChristian Goettsche <cgzones@googlemail.com>2020-11-18 15:12:18 +0100
committerBenBE <BenBE@geshi.org>2020-11-19 23:51:50 +0100
commitf5c3349bdb9cae2eec5adb9892445d3a1b482ec4 (patch)
tree72d2d82c7e2fac5f95205d344a837fa15022e516 /Action.c
parent7cf527759481a760b0f08da16add3a5120048572 (diff)
IWYU update (FreeBSD)
Diffstat (limited to 'Action.c')
-rw-r--r--Action.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/Action.c b/Action.c
index edaebc66..ef7caaf4 100644
--- a/Action.c
+++ b/Action.c
@@ -13,8 +13,6 @@ in the source distribution for its full text.
#include <stdbool.h>
#include <stdlib.h>
-#include "Affinity.h"
-#include "AffinityPanel.h"
#include "CategoriesPanel.h"
#include "CommandScreen.h"
#include "CRT.h"
@@ -36,6 +34,11 @@ in the source distribution for its full text.
#include "Vector.h"
#include "XUtils.h"
+#if (defined(HAVE_LIBHWLOC) || defined(HAVE_LINUX_AFFINITY))
+#include "Affinity.h"
+#include "AffinityPanel.h"
+#endif
+
Object* Action_pickFromVector(State* st, Panel* list, int x, bool followProcess) {
Panel* panel = st->panel;

© 2014-2024 Faster IT GmbH | imprint | privacy policy