summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-04 19:06:27 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-04 19:06:27 +0200
commitdc12cbca41b8b667ae7ced1066647d47186d1557 (patch)
tree47eb2183fd7cb3553b5f680b848cd080b82dc73c /Libraries
parent45b05e9734962b07f95630e76b9a680e1775f002 (diff)
downloadserenity-dc12cbca41b8b667ae7ced1066647d47186d1557.zip
LibM: Always include <math.h> instead of <LibM/math.h>
This makes Lagom pick up the host math.h, which is what we want.
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibGfx/FloatPoint.h2
-rw-r--r--Libraries/LibGfx/GIFLoader.cpp4
-rw-r--r--Libraries/LibGfx/ICOLoader.cpp2
-rw-r--r--Libraries/LibGfx/JPGLoader.cpp2
-rw-r--r--Libraries/LibGfx/PNGLoader.cpp2
-rw-r--r--Libraries/LibGfx/Point.h2
-rw-r--r--Libraries/LibGfx/Rect.h2
-rw-r--r--Libraries/LibM/math.cpp2
8 files changed, 9 insertions, 9 deletions
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 <AK/String.h>
#include <LibGfx/Orientation.h>
#include <LibGfx/Point.h>
-#include <LibM/math.h>
+#include <math.h>
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 <AK/MappedFile.h>
#include <AK/NonnullOwnPtrVector.h>
#include <LibGfx/GIFLoader.h>
-#include <LibM/math.h>
+#include <math.h>
#include <stdio.h>
#include <string.h>
@@ -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 <AK/Types.h>
#include <LibGfx/ICOLoader.h>
#include <LibGfx/PNGLoader.h>
-#include <LibM/math.h>
+#include <math.h>
#include <stdio.h>
#include <string.h>
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 <AK/Vector.h>
#include <LibGfx/Bitmap.h>
#include <LibGfx/JPGLoader.h>
-#include <Libraries/LibM/math.h>
+#include <math.h>
#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 <AK/NetworkOrdered.h>
#include <LibCore/puff.h>
#include <LibGfx/PNGLoader.h>
-#include <LibM/math.h>
+#include <math.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
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 <LibGfx/Orientation.h>
#include <LibGfx/Forward.h>
#include <LibIPC/Forward.h>
-#include <LibM/math.h>
+#include <math.h>
#include <stdlib.h>
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 <LibGfx/Point.h>
#include <LibGfx/Size.h>
#include <LibGfx/TextAlignment.h>
-#include <LibM/math.h>
+#include <math.h>
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 <LibC/assert.h>
-#include <LibM/math.h>
+#include <math.h>
#include <stdint.h>
#include <stdlib.h>