diff options
author | Benny Baumann <BenBE@geshi.org> | 2021-04-03 20:49:45 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2021-04-03 21:40:27 +0200 |
commit | 6c66f32fa75134c01d321c54b891321e48520b1b (patch) | |
tree | ce11baee4f6fa66d344e0d4dd12a3f143c13fe06 /solaris/Platform.c | |
parent | 75fd9edf755572d26da4c745aefae3eb4bb08445 (diff) |
Include signal.h, reorder headers
Diffstat (limited to 'solaris/Platform.c')
-rw-r--r-- | solaris/Platform.c | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/solaris/Platform.c b/solaris/Platform.c index cadf092c..81e8d28d 100644 --- a/solaris/Platform.c +++ b/solaris/Platform.c @@ -7,7 +7,19 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ -#include "Platform.h" +#include "solaris/Platform.h" + +#include <kstat.h> +#include <math.h> +#include <string.h> +#include <time.h> +#include <utmpx.h> +#include <sys/loadavg.h> +#include <sys/resource.h> +#include <sys/types.h> +#include <sys/time.h> +#include <sys/var.h> + #include "Macros.h" #include "Meter.h" #include "CPUMeter.h" @@ -26,17 +38,6 @@ in the source distribution for its full text. #include "SolarisProcess.h" #include "SolarisProcessList.h" -#include <sys/types.h> -#include <sys/time.h> -#include <sys/resource.h> -#include <utmpx.h> -#include <sys/loadavg.h> -#include <string.h> -#include <kstat.h> -#include <time.h> -#include <math.h> -#include <sys/var.h> - double plat_loadavg[3] = {0}; |