LibC: Fix misplaced #include in limits.h

posix1_lim.h only defines macros that start with _POSIX_*, and don't
mention anything that might be defined in limits.h. Likewise, limits.h
uses none of the _POSIX_* macros. Thus, it is okay to change the order
of imports.
This commit is contained in:
Ben Wiederhake 2022-09-18 01:33:28 +02:00 committed by Brian Gianforcaro
parent f11a69aafb
commit 078e4bde32
Notes: sideshowbarker 2024-07-17 06:54:15 +09:00

View file

@ -7,6 +7,7 @@
#pragma once
#include <Kernel/API/POSIX/sys/limits.h>
#include <bits/posix1_lim.h>
#include <bits/stdint.h>
#include <bits/wchar.h>
@ -92,5 +93,3 @@
#define LINK_MAX 4096
#define TZNAME_MAX 64
#include <bits/posix1_lim.h>