Procházet zdrojové kódy

Meta: Replace remaining LibM/math.h includes with math.h

Linus Groh před 5 roky
rodič
revize
7072806234

+ 1 - 1
Applications/PixelPaint/EllipseTool.cpp

@@ -31,7 +31,7 @@
 #include <LibGUI/Menu.h>
 #include <LibGUI/Painter.h>
 #include <LibGfx/Rect.h>
-#include <LibM/math.h>
+#include <math.h>
 
 namespace PixelPaint {
 

+ 1 - 1
Applications/PixelPaint/LineTool.cpp

@@ -30,7 +30,7 @@
 #include <LibGUI/Action.h>
 #include <LibGUI/Menu.h>
 #include <LibGUI/Painter.h>
-#include <LibM/math.h>
+#include <math.h>
 
 namespace PixelPaint {
 

+ 1 - 1
Applications/PixelPaint/RectangleTool.cpp

@@ -31,7 +31,7 @@
 #include <LibGUI/Menu.h>
 #include <LibGUI/Painter.h>
 #include <LibGfx/Rect.h>
-#include <LibM/math.h>
+#include <math.h>
 
 namespace PixelPaint {
 

+ 1 - 1
Applications/PixelPaint/SprayTool.cpp

@@ -33,7 +33,7 @@
 #include <LibGUI/Menu.h>
 #include <LibGUI/Painter.h>
 #include <LibGfx/Bitmap.h>
-#include <LibM/math.h>
+#include <math.h>
 #include <stdio.h>
 
 namespace PixelPaint {

+ 1 - 1
Applications/SoundPlayer/SampleWidget.cpp

@@ -27,7 +27,7 @@
 #include "SampleWidget.h"
 #include <LibAudio/Buffer.h>
 #include <LibGUI/Painter.h>
-#include <LibM/math.h>
+#include <math.h>
 
 SampleWidget::SampleWidget()
 {

+ 1 - 1
Applications/SoundPlayer/SoundPlayerWidget.cpp

@@ -30,7 +30,7 @@
 #include <LibGUI/Button.h>
 #include <LibGUI/Label.h>
 #include <LibGUI/MessageBox.h>
-#include <LibM/math.h>
+#include <math.h>
 
 SoundPlayerWidget::SoundPlayerWidget(GUI::Window& window, NonnullRefPtr<Audio::ClientConnection> connection)
     : m_window(window)

+ 1 - 0
CMakeLists.txt

@@ -157,6 +157,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEBUG -DSANITIZE_PTRS")
 add_link_options(--sysroot ${CMAKE_BINARY_DIR}/Root)
 
 include_directories(Libraries/LibC)
+include_directories(Libraries/LibM)
 include_directories(Services)
 include_directories(${CMAKE_CURRENT_BINARY_DIR}/Services)
 include_directories(${CMAKE_CURRENT_BINARY_DIR}/Libraries)

+ 1 - 1
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 {
 

+ 1 - 1
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>
 

+ 1 - 1
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>
 

+ 1 - 1
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) \

+ 1 - 1
Libraries/LibGfx/PNGLoader.cpp

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

+ 1 - 1
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 {

+ 1 - 1
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 {
 

+ 1 - 1
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>
 

+ 1 - 1
Userland/du.cpp

@@ -33,8 +33,8 @@
 #include <LibCore/DirIterator.h>
 #include <LibCore/File.h>
 #include <LibCore/Object.h>
-#include <LibM/math.h>
 #include <limits.h>
+#include <math.h>
 #include <stdio.h>
 #include <string.h>
 #include <sys/stat.h>

+ 1 - 1
Userland/functrace.cpp

@@ -38,9 +38,9 @@
 #include <LibCore/File.h>
 #include <LibDebug/DebugSession.h>
 #include <LibELF/Image.h>
-#include <LibM/math.h>
 #include <LibX86/Disassembler.h>
 #include <LibX86/Instruction.h>
+#include <math.h>
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>