diff options
author | Ximalas <trond.endrestol@ximalas.info> | 2023-02-25 13:46:13 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2023-02-25 18:02:23 +0100 |
commit | c66f99b1ca10247f4d419f18ffcb71bfed799f28 (patch) | |
tree | 7ad960d8565ae0b656062ba9ab9df4ea45e852d2 /generic | |
parent | 89872e33d80f953e8895e0d0d91d8da8b7562438 (diff) |
Update include order for fdstat_sysctl.c
Some weird systems need you to include sys/types.h before any other sys/ headers (e.g. on FreeBSD).
Diffstat (limited to 'generic')
-rw-r--r-- | generic/fdstat_sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/fdstat_sysctl.c b/generic/fdstat_sysctl.c index 9e89a0da..49e8e362 100644 --- a/generic/fdstat_sysctl.c +++ b/generic/fdstat_sysctl.c @@ -11,8 +11,8 @@ in the source distribution for its full text. #include <stddef.h> #include <stdint.h> +#include <sys/types.h> // Shitty FreeBSD upstream headers #include <sys/sysctl.h> -#include <sys/types.h> #include "config.h" |