mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:34:59 +00:00
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:
parent
f11a69aafb
commit
078e4bde32
1 changed files with 1 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue