From 5b8fdbc82dc5439cbcba6b92e26e48d57bd42ea0 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Tue, 16 Jul 2024 12:47:38 +0300 Subject: [PATCH] LibC: Don't expose math.h in stdlib.h --- userspace/libraries/LibC/include/stdlib.h | 1 - userspace/libraries/LibImage/Image.cpp | 1 + userspace/programs/Shell/main.cpp | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/userspace/libraries/LibC/include/stdlib.h b/userspace/libraries/LibC/include/stdlib.h index 02d7b086..aaeeb4e6 100644 --- a/userspace/libraries/LibC/include/stdlib.h +++ b/userspace/libraries/LibC/include/stdlib.h @@ -8,7 +8,6 @@ __BEGIN_DECLS #include -#include #include #define __need_NULL diff --git a/userspace/libraries/LibImage/Image.cpp b/userspace/libraries/LibImage/Image.cpp index 0fe4fc52..58e41fbe 100644 --- a/userspace/libraries/LibImage/Image.cpp +++ b/userspace/libraries/LibImage/Image.cpp @@ -6,6 +6,7 @@ #include #include +#include #include #include diff --git a/userspace/programs/Shell/main.cpp b/userspace/programs/Shell/main.cpp index 645f26f2..0668d7ec 100644 --- a/userspace/programs/Shell/main.cpp +++ b/userspace/programs/Shell/main.cpp @@ -5,6 +5,7 @@ #include #include +#include #include #include #include