summaryrefslogtreecommitdiffstats
path: root/solaris
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-05-19 19:01:30 +0200
committercgzones <cgzones@googlemail.com>2021-05-20 16:43:40 +0200
commit8f34225a496a75b634b82484533a13fdcc3b12f3 (patch)
treeb88f3e7b8c9f16d7fa9876970d4933f7bf686af0 /solaris
parentfdda291a0ea22508c2f1d4683bd9cde02ddb2427 (diff)
Solaris: fix includes
Diffstat (limited to 'solaris')
-rw-r--r--solaris/SolarisProcessList.c2
-rw-r--r--solaris/SolarisProcessList.h11
2 files changed, 12 insertions, 1 deletions
diff --git a/solaris/SolarisProcessList.c b/solaris/SolarisProcessList.c
index 81ab29e6..80965f35 100644
--- a/solaris/SolarisProcessList.c
+++ b/solaris/SolarisProcessList.c
@@ -22,7 +22,7 @@ in the source distribution for its full text.
#include <time.h>
#include "CRT.h"
-#include "solaris/ProcessList.h"
+#include "solaris/Platform.h"
#include "solaris/SolarisProcess.h"
diff --git a/solaris/SolarisProcessList.h b/solaris/SolarisProcessList.h
index 90d893c8..77bdf7b8 100644
--- a/solaris/SolarisProcessList.h
+++ b/solaris/SolarisProcessList.h
@@ -13,7 +13,12 @@ in the source distribution for its full text.
#define GZONE "global "
#define UZONE "unknown "
+
+#include "config.h" // IWYU pragma: keep
+
#include <kstat.h>
+#include <stdbool.h>
+#include <stdint.h>
#include <sys/param.h>
#include <sys/uio.h>
#include <sys/resource.h>
@@ -21,6 +26,12 @@ in the source distribution for its full text.
#include <sys/sysinfo.h>
#include <sys/swap.h>
+#include "Hashtable.h"
+#include "ProcessList.h"
+#include "UsersTable.h"
+
+#include "solaris/SolarisProcess.h"
+
#include "zfs/ZfsArcStats.h"

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