1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:07:46 +00:00

Revert "LibM: Always include <math.h> instead of <LibM/math.h>"

This reverts commit dc12cbca41.

Sadly this broke the build due to some confusion about <new>.
Reverting until this can be solved fully.
This commit is contained in:
Andreas Kling 2020-08-04 21:17:43 +02:00
parent 000ef0ec3d
commit 984683cf34
16 changed files with 17 additions and 17 deletions

View file

@ -30,7 +30,7 @@
#include <AK/String.h>
#include <LibGfx/Orientation.h>
#include <LibGfx/Point.h>
#include <math.h>
#include <LibM/math.h>
namespace Gfx {

View file

@ -30,7 +30,7 @@
#include <AK/MappedFile.h>
#include <AK/NonnullOwnPtrVector.h>
#include <LibGfx/GIFLoader.h>
#include <math.h>
#include <LibM/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()
{

View file

@ -32,7 +32,7 @@
#include <AK/Types.h>
#include <LibGfx/ICOLoader.h>
#include <LibGfx/PNGLoader.h>
#include <math.h>
#include <LibM/math.h>
#include <stdio.h>
#include <string.h>

View file

@ -33,7 +33,7 @@
#include <AK/Vector.h>
#include <LibGfx/Bitmap.h>
#include <LibGfx/JPGLoader.h>
#include <math.h>
#include <Libraries/LibM/math.h>
#define JPG_DBG 0
#define jpg_dbg(x) \

View file

@ -30,7 +30,7 @@
#include <AK/NetworkOrdered.h>
#include <LibCore/puff.h>
#include <LibGfx/PNGLoader.h>
#include <math.h>
#include <LibM/math.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>

View file

@ -31,7 +31,7 @@
#include <LibGfx/Orientation.h>
#include <LibGfx/Forward.h>
#include <LibIPC/Forward.h>
#include <math.h>
#include <LibM/math.h>
#include <stdlib.h>
namespace Gfx {

View file

@ -30,7 +30,7 @@
#include <LibGfx/Point.h>
#include <LibGfx/Size.h>
#include <LibGfx/TextAlignment.h>
#include <math.h>
#include <LibM/math.h>
namespace Gfx {