diff options
Diffstat (limited to 'Action.c')
-rw-r--r-- | Action.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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; |