summaryrefslogtreecommitdiffstats
path: root/generic/fdstat_sysctl.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2023-10-10 20:45:54 +1100
committerNathan Scott <nathans@redhat.com>2023-10-10 20:45:54 +1100
commit43cb4a57d6eca089358dbf974070dd7d33ccc337 (patch)
tree98908ca73d09f3a86ff74c71dae2e6f4e94a6ca3 /generic/fdstat_sysctl.c
parent4103c23327359a0bd6385c2f891554f206fec397 (diff)
parent8e4ce18ba8d1fd11c17631eff785340219136091 (diff)
Merge branch 'style-header-consistency' of https://github.com/BenBE/htop into BenBE-style-header-consistency
Diffstat (limited to 'generic/fdstat_sysctl.c')
-rw-r--r--generic/fdstat_sysctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/fdstat_sysctl.c b/generic/fdstat_sysctl.c
index 432114c2..ea374fb2 100644
--- a/generic/fdstat_sysctl.c
+++ b/generic/fdstat_sysctl.c
@@ -5,6 +5,8 @@ Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
+#include "config.h" // IWYU pragma: keep
+
#include "generic/fdstat_sysctl.h"
#include <math.h>
@@ -14,8 +16,6 @@ in the source distribution for its full text.
#include <sys/types.h> // Shitty FreeBSD upstream headers
#include <sys/sysctl.h>
-#include "config.h"
-
static void Generic_getFileDescriptors_sysctl_internal(
const char* sysctlname_maxfiles,

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