mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 00:29:15 +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
Notes:
sideshowbarker
2024-07-17 06:54:15 +09:00
Author: https://github.com/BenWiederhake
Commit: 078e4bde32
Pull-request: https://github.com/SerenityOS/serenity/pull/15277
1 changed files with 1 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <Kernel/API/POSIX/sys/limits.h>
|
#include <Kernel/API/POSIX/sys/limits.h>
|
||||||
|
#include <bits/posix1_lim.h>
|
||||||
#include <bits/stdint.h>
|
#include <bits/stdint.h>
|
||||||
#include <bits/wchar.h>
|
#include <bits/wchar.h>
|
||||||
|
|
||||||
|
@ -92,5 +93,3 @@
|
||||||
#define LINK_MAX 4096
|
#define LINK_MAX 4096
|
||||||
|
|
||||||
#define TZNAME_MAX 64
|
#define TZNAME_MAX 64
|
||||||
|
|
||||||
#include <bits/posix1_lim.h>
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue