summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/palette.cpp2
-rw-r--r--src/gui/windows/itemamountwindow.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/palette.cpp b/src/gui/palette.cpp
index ada4f2e5b..0f7d76e85 100644
--- a/src/gui/palette.cpp
+++ b/src/gui/palette.cpp
@@ -25,7 +25,7 @@
#include "client.h"
-#include <math.h>
+#include <cmath>
#include "debug.h"
diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp
index 8816be8dc..7ad559c92 100644
--- a/src/gui/windows/itemamountwindow.cpp
+++ b/src/gui/windows/itemamountwindow.cpp
@@ -48,8 +48,6 @@
#include "utils/gettext.h"
-#include <math.h>
-
#include "debug.h"
class ItemsModal final : public gcn::ListModel