From 078e4bde32fd1fc4e4a980abbab914b5e00544f0 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sun, 18 Sep 2022 01:33:28 +0200 Subject: [PATCH] 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. --- Userland/Libraries/LibC/limits.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Userland/Libraries/LibC/limits.h b/Userland/Libraries/LibC/limits.h index 63e1728415..936a9ab928 100644 --- a/Userland/Libraries/LibC/limits.h +++ b/Userland/Libraries/LibC/limits.h @@ -7,6 +7,7 @@ #pragma once #include +#include #include #include @@ -92,5 +93,3 @@ #define LINK_MAX 4096 #define TZNAME_MAX 64 - -#include