DragonFlyBSD: Fix included headers

This commit is contained in:
Benny Baumann 2021-05-22 09:24:30 +02:00 committed by cgzones
parent 2c8353e7cf
commit 07a4657a47
6 changed files with 29 additions and 12 deletions

View File

@ -13,11 +13,11 @@ in the source distribution for its full text.
#include <unistd.h>
#include <sys/syscall.h>
#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, },

View File

@ -8,6 +8,13 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
#include <stdbool.h>
#include "Object.h"
#include "Process.h"
#include "Settings.h"
typedef struct DragonFlyBSDProcess_ {
Process super;
int kernel;

View File

@ -8,19 +8,20 @@ in the source distribution for its full text.
#include "dragonflybsd/DragonFlyBSDProcessList.h"
#include <unistd.h>
#include <fcntl.h>
#include <limits.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/sysctl.h>
#include <sys/user.h>
#include <fcntl.h>
#include <limits.h>
#include <string.h>
#include <sys/param.h>
#include "CRT.h"
#include "Macros.h"
#include "ProcessList.h"
#include "dragonflybsd/DragonFlyBSDProcess.h"

View File

@ -8,13 +8,18 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
#include <sys/types.h> // required for kvm.h
#include <kvm.h>
#include <sys/param.h>
#include <osreldate.h>
#include <stdbool.h>
#include <sys/jail.h>
#include <sys/uio.h>
#include <sys/param.h>
#include <sys/resource.h>
#include <sys/uio.h>
#include "Hashtable.h"
#include "ProcessList.h"
#include "UsersTable.h"
#include "dragonflybsd/DragonFlyBSDProcess.h"

View File

@ -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"

View File

@ -9,12 +9,17 @@ in the source distribution for its full text.
*/
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>
#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"