From dc12cbca41b8b667ae7ced1066647d47186d1557 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 4 Aug 2020 19:06:27 +0200 Subject: [PATCH] LibM: Always include instead of This makes Lagom pick up the host math.h, which is what we want. --- Applications/PixelPaint/EllipseTool.cpp | 2 +- Applications/PixelPaint/LineTool.cpp | 2 +- Applications/PixelPaint/RectangleTool.cpp | 2 +- Applications/PixelPaint/SprayTool.cpp | 2 +- Applications/SoundPlayer/SampleWidget.cpp | 2 +- Applications/SoundPlayer/SoundPlayerWidget.cpp | 2 +- Libraries/LibGfx/FloatPoint.h | 2 +- Libraries/LibGfx/GIFLoader.cpp | 4 ++-- Libraries/LibGfx/ICOLoader.cpp | 2 +- Libraries/LibGfx/JPGLoader.cpp | 2 +- Libraries/LibGfx/PNGLoader.cpp | 2 +- Libraries/LibGfx/Point.h | 2 +- Libraries/LibGfx/Rect.h | 2 +- Libraries/LibM/math.cpp | 2 +- Userland/du.cpp | 2 +- Userland/functrace.cpp | 2 +- 16 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Applications/PixelPaint/EllipseTool.cpp b/Applications/PixelPaint/EllipseTool.cpp index bdad687e65..e4914f03b2 100644 --- a/Applications/PixelPaint/EllipseTool.cpp +++ b/Applications/PixelPaint/EllipseTool.cpp @@ -31,7 +31,7 @@ #include #include #include -#include +#include namespace PixelPaint { diff --git a/Applications/PixelPaint/LineTool.cpp b/Applications/PixelPaint/LineTool.cpp index dd1133aa77..8dd2d0a4f1 100644 --- a/Applications/PixelPaint/LineTool.cpp +++ b/Applications/PixelPaint/LineTool.cpp @@ -30,7 +30,7 @@ #include #include #include -#include +#include namespace PixelPaint { diff --git a/Applications/PixelPaint/RectangleTool.cpp b/Applications/PixelPaint/RectangleTool.cpp index 84d5e3937e..4eaffd29bb 100644 --- a/Applications/PixelPaint/RectangleTool.cpp +++ b/Applications/PixelPaint/RectangleTool.cpp @@ -31,7 +31,7 @@ #include #include #include -#include +#include namespace PixelPaint { diff --git a/Applications/PixelPaint/SprayTool.cpp b/Applications/PixelPaint/SprayTool.cpp index 0a685e36e0..85a6200f97 100644 --- a/Applications/PixelPaint/SprayTool.cpp +++ b/Applications/PixelPaint/SprayTool.cpp @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include namespace PixelPaint { diff --git a/Applications/SoundPlayer/SampleWidget.cpp b/Applications/SoundPlayer/SampleWidget.cpp index 5decd2b8b9..b3884a175a 100644 --- a/Applications/SoundPlayer/SampleWidget.cpp +++ b/Applications/SoundPlayer/SampleWidget.cpp @@ -27,7 +27,7 @@ #include "SampleWidget.h" #include #include -#include +#include SampleWidget::SampleWidget() { diff --git a/Applications/SoundPlayer/SoundPlayerWidget.cpp b/Applications/SoundPlayer/SoundPlayerWidget.cpp index 0b416c0833..5901283581 100644 --- a/Applications/SoundPlayer/SoundPlayerWidget.cpp +++ b/Applications/SoundPlayer/SoundPlayerWidget.cpp @@ -30,7 +30,7 @@ #include #include #include -#include +#include SoundPlayerWidget::SoundPlayerWidget(GUI::Window& window, NonnullRefPtr connection) : m_window(window) diff --git a/Libraries/LibGfx/FloatPoint.h b/Libraries/LibGfx/FloatPoint.h index 59b10a06c0..3cfa7103a5 100644 --- a/Libraries/LibGfx/FloatPoint.h +++ b/Libraries/LibGfx/FloatPoint.h @@ -30,7 +30,7 @@ #include #include #include -#include +#include namespace Gfx { diff --git a/Libraries/LibGfx/GIFLoader.cpp b/Libraries/LibGfx/GIFLoader.cpp index a7e3f89407..264175e58d 100644 --- a/Libraries/LibGfx/GIFLoader.cpp +++ b/Libraries/LibGfx/GIFLoader.cpp @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include @@ -546,7 +546,7 @@ GIFImageDecoderPlugin::GIFImageDecoderPlugin(const u8* data, size_t size) m_context->data_size = size; } -GIFImageDecoderPlugin::~GIFImageDecoderPlugin() {} +GIFImageDecoderPlugin::~GIFImageDecoderPlugin() { } IntSize GIFImageDecoderPlugin::size() { diff --git a/Libraries/LibGfx/ICOLoader.cpp b/Libraries/LibGfx/ICOLoader.cpp index 3026ce0f9d..c75aae04b2 100644 --- a/Libraries/LibGfx/ICOLoader.cpp +++ b/Libraries/LibGfx/ICOLoader.cpp @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include diff --git a/Libraries/LibGfx/JPGLoader.cpp b/Libraries/LibGfx/JPGLoader.cpp index 57772534d2..c7b40c8d2b 100644 --- a/Libraries/LibGfx/JPGLoader.cpp +++ b/Libraries/LibGfx/JPGLoader.cpp @@ -33,7 +33,7 @@ #include #include #include -#include +#include #define JPG_DBG 0 #define jpg_dbg(x) \ diff --git a/Libraries/LibGfx/PNGLoader.cpp b/Libraries/LibGfx/PNGLoader.cpp index e732ac2e24..b4743d4bb4 100644 --- a/Libraries/LibGfx/PNGLoader.cpp +++ b/Libraries/LibGfx/PNGLoader.cpp @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/Libraries/LibGfx/Point.h b/Libraries/LibGfx/Point.h index 9ba78a9744..9603625ef8 100644 --- a/Libraries/LibGfx/Point.h +++ b/Libraries/LibGfx/Point.h @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include namespace Gfx { diff --git a/Libraries/LibGfx/Rect.h b/Libraries/LibGfx/Rect.h index 94d133d846..6105491f82 100644 --- a/Libraries/LibGfx/Rect.h +++ b/Libraries/LibGfx/Rect.h @@ -30,7 +30,7 @@ #include #include #include -#include +#include namespace Gfx { diff --git a/Libraries/LibM/math.cpp b/Libraries/LibM/math.cpp index d83dbecd64..9d98d8439b 100644 --- a/Libraries/LibM/math.cpp +++ b/Libraries/LibM/math.cpp @@ -25,7 +25,7 @@ */ #include -#include +#include #include #include diff --git a/Userland/du.cpp b/Userland/du.cpp index 475f2004a8..65352af28e 100644 --- a/Userland/du.cpp +++ b/Userland/du.cpp @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/Userland/functrace.cpp b/Userland/functrace.cpp index 69a5283068..53b714e483 100644 --- a/Userland/functrace.cpp +++ b/Userland/functrace.cpp @@ -38,7 +38,7 @@ #include #include #include -#include +#include #include #include #include