platform-dependent files included relative to main source directory

This commit is contained in:
mayurdahibhate
2021-04-29 23:43:36 +05:30
committed by BenBE
parent 1b74dfe187
commit 3f86a011e6
41 changed files with 97 additions and 91 deletions

View File

@ -5,7 +5,7 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
#include "HugePageMeter.h"
#include "linux/HugePageMeter.h"
#include <assert.h>
#include <limits.h>
@ -13,11 +13,11 @@ in the source distribution for its full text.
#include <stddef.h>
#include "CRT.h"
#include "LinuxProcessList.h"
#include "Macros.h"
#include "Object.h"
#include "ProcessList.h"
#include "RichString.h"
#include "linux/LinuxProcessList.h"
static const char *HugePageMeter_active_labels[4] = { NULL, NULL, NULL, NULL };

View File

@ -5,7 +5,7 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
#include "IOPriorityPanel.h"
#include "linux/IOPriorityPanel.h"
#include <stdbool.h>
#include <stddef.h>
@ -14,6 +14,7 @@ in the source distribution for its full text.
#include "ListItem.h"
#include "Object.h"
#include "XUtils.h"
#include "IOPriority.h"
Panel* IOPriorityPanel_new(IOPriority currPrio) {

View File

@ -8,7 +8,7 @@ in the source distribution for its full text.
*/
#include "Panel.h"
#include "IOPriority.h"
#include "linux/IOPriority.h"
Panel* IOPriorityPanel_new(IOPriority currPrio);

View File

@ -1,4 +1,4 @@
#include "LibSensors.h"
#include "linux/LibSensors.h"
#ifdef HAVE_SENSORS_SENSORS_H

View File

@ -5,7 +5,7 @@
#include <stdio.h>
#include "LinuxProcessList.h"
#include "linux/LinuxProcessList.h"
int LibSensors_init(FILE* input);

View File

@ -6,7 +6,7 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
#include "LinuxProcess.h"
#include "linux/LinuxProcess.h"
#include <assert.h>
#include <math.h>
@ -22,6 +22,7 @@ in the source distribution for its full text.
#include "ProvideCurses.h"
#include "RichString.h"
#include "XUtils.h"
#include "linux/IOPriority.h"
/* semi-global */

View File

@ -12,7 +12,7 @@ in the source distribution for its full text.
#include <stdbool.h>
#include "IOPriority.h"
#include "linux/IOPriority.h"
#include "Object.h"
#include "Process.h"
#include "Settings.h"

View File

@ -7,7 +7,7 @@ in the source distribution for its full text.
#include "config.h" // IWYU pragma: keep
#include "LinuxProcessList.h"
#include "linux/LinuxProcessList.h"
#include <assert.h>
#include <dirent.h>
@ -41,13 +41,13 @@ in the source distribution for its full text.
#include "Compat.h"
#include "CRT.h"
#include "LinuxProcess.h"
#include "Macros.h"
#include "Object.h"
#include "Platform.h" // needed for GNU/hurd to get PATH_MAX
#include "Process.h"
#include "Settings.h"
#include "XUtils.h"
#include "linux/LinuxProcess.h"
#include "linux/Platform.h" // needed for GNU/hurd to get PATH_MAX
#if defined(MAJOR_IN_MKDEV)
#include <sys/mkdev.h>

View File

@ -7,7 +7,7 @@ in the source distribution for its full text.
#include "config.h"
#include "Platform.h"
#include "linux/Platform.h"
#include <assert.h>
#include <ctype.h>
@ -31,10 +31,6 @@ in the source distribution for its full text.
#include "DiskIOMeter.h"
#include "HostnameMeter.h"
#include "HugePageMeter.h"
#include "IOPriority.h"
#include "IOPriorityPanel.h"
#include "LinuxProcess.h"
#include "LinuxProcessList.h"
#include "LoadAverageMeter.h"
#include "Macros.h"
#include "MainPanel.h"
@ -46,17 +42,20 @@ in the source distribution for its full text.
#include "PressureStallMeter.h"
#include "ProcessList.h"
#include "ProvideCurses.h"
#include "SELinuxMeter.h"
#include "linux/SELinuxMeter.h"
#include "Settings.h"
#include "SwapMeter.h"
#include "SysArchMeter.h"
#include "SystemdMeter.h"
#include "TasksMeter.h"
#include "UptimeMeter.h"
#include "XUtils.h"
#include "ZramMeter.h"
#include "ZramStats.h"
#include "linux/IOPriority.h"
#include "linux/IOPriorityPanel.h"
#include "linux/LinuxProcess.h"
#include "linux/LinuxProcessList.h"
#include "linux/SystemdMeter.h"
#include "linux/ZramMeter.h"
#include "linux/ZramStats.h"
#include "zfs/ZfsArcMeter.h"
#include "zfs/ZfsArcStats.h"
#include "zfs/ZfsCompressedArcMeter.h"

View File

@ -6,7 +6,7 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
#include "PressureStallMeter.h"
#include "linux/PressureStallMeter.h"
#include <stdbool.h>
#include <string.h>

View File

@ -5,7 +5,7 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
#include "SELinuxMeter.h"
#include "linux/SELinuxMeter.h"
#include "CRT.h"

View File

@ -5,7 +5,7 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
#include "SystemdMeter.h"
#include "linux/SystemdMeter.h"
#include <dlfcn.h>
#include <fcntl.h>

View File

@ -1,4 +1,4 @@
#include "ZramMeter.h"
#include "linux/ZramMeter.h"
#include <stddef.h>