From 07a4657a4744de919854b4c38c688861a0469233 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sat, 22 May 2021 09:24:30 +0200 Subject: DragonFlyBSD: Fix included headers --- dragonflybsd/DragonFlyBSDProcess.c | 6 +++--- dragonflybsd/DragonFlyBSDProcess.h | 7 +++++++ dragonflybsd/DragonFlyBSDProcessList.c | 11 ++++++----- dragonflybsd/DragonFlyBSDProcessList.h | 9 +++++++-- dragonflybsd/Platform.c | 3 +-- dragonflybsd/Platform.h | 5 +++++ 6 files changed, 29 insertions(+), 12 deletions(-) (limited to 'dragonflybsd') diff --git a/dragonflybsd/DragonFlyBSDProcess.c b/dragonflybsd/DragonFlyBSDProcess.c index 07a765e7..7322f091 100644 --- a/dragonflybsd/DragonFlyBSDProcess.c +++ b/dragonflybsd/DragonFlyBSDProcess.c @@ -13,11 +13,11 @@ in the source distribution for its full text. #include #include -#include "Process.h" -#include "ProcessList.h" -#include "dragonflybsd/Platform.h" #include "CRT.h" +#include "dragonflybsd/Platform.h" + + const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = { [0] = { .name = "", .title = NULL, .description = NULL, .flags = 0, }, [PID] = { .name = "PID", .title = "PID", .description = "Process/thread ID", .flags = 0, .pidColumn = true, }, diff --git a/dragonflybsd/DragonFlyBSDProcess.h b/dragonflybsd/DragonFlyBSDProcess.h index dc40a993..4b086af2 100644 --- a/dragonflybsd/DragonFlyBSDProcess.h +++ b/dragonflybsd/DragonFlyBSDProcess.h @@ -8,6 +8,13 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ +#include + +#include "Object.h" +#include "Process.h" +#include "Settings.h" + + typedef struct DragonFlyBSDProcess_ { Process super; int kernel; diff --git a/dragonflybsd/DragonFlyBSDProcessList.c b/dragonflybsd/DragonFlyBSDProcessList.c index 41f557ba..42245e22 100644 --- a/dragonflybsd/DragonFlyBSDProcessList.c +++ b/dragonflybsd/DragonFlyBSDProcessList.c @@ -8,19 +8,20 @@ in the source distribution for its full text. #include "dragonflybsd/DragonFlyBSDProcessList.h" -#include +#include +#include +#include #include +#include +#include #include #include #include -#include -#include -#include #include #include "CRT.h" #include "Macros.h" -#include "ProcessList.h" + #include "dragonflybsd/DragonFlyBSDProcess.h" diff --git a/dragonflybsd/DragonFlyBSDProcessList.h b/dragonflybsd/DragonFlyBSDProcessList.h index d596054c..775be5c7 100644 --- a/dragonflybsd/DragonFlyBSDProcessList.h +++ b/dragonflybsd/DragonFlyBSDProcessList.h @@ -8,13 +8,18 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ +#include // required for kvm.h #include -#include #include +#include #include -#include +#include #include +#include + #include "Hashtable.h" +#include "ProcessList.h" +#include "UsersTable.h" #include "dragonflybsd/DragonFlyBSDProcess.h" diff --git a/dragonflybsd/Platform.c b/dragonflybsd/Platform.c index f81078d7..8a3a61b0 100644 --- a/dragonflybsd/Platform.c +++ b/dragonflybsd/Platform.c @@ -22,9 +22,8 @@ in the source distribution for its full text. #include "DateTimeMeter.h" #include "HostnameMeter.h" #include "LoadAverageMeter.h" -#include "Macros.h" #include "MemoryMeter.h" -#include "Meter.h" +#include "ProcessList.h" #include "SwapMeter.h" #include "SysArchMeter.h" #include "TasksMeter.h" diff --git a/dragonflybsd/Platform.h b/dragonflybsd/Platform.h index 87c124d9..e5402c00 100644 --- a/dragonflybsd/Platform.h +++ b/dragonflybsd/Platform.h @@ -9,12 +9,17 @@ in the source distribution for its full text. */ #include +#include +#include #include #include "Action.h" #include "BatteryMeter.h" #include "DiskIOMeter.h" +#include "Macros.h" +#include "Meter.h" #include "NetworkIOMeter.h" +#include "Process.h" #include "ProcessLocksScreen.h" #include "SignalsPanel.h" #include "generic/gettime.h" -- cgit v1.2.3