diff --git a/src/core/Alloc.cpp b/src/core/Alloc.cpp
index 38ee8c182..f9ec317cc 100644
--- a/src/core/Alloc.cpp
+++ b/src/core/Alloc.cpp
@@ -25,7 +25,7 @@
 #elif defined(HAVE_MALLOC_H)
 #include <malloc.h>
 #else
-#include <stdlib.h>
+#include <cstdlib>
 #endif
 
 #if defined(NDEBUG) && !defined(__cpp_sized_deallocation)
diff --git a/src/gui/Application.cpp b/src/gui/Application.cpp
index c2c42c24d..5822ac4cd 100644
--- a/src/gui/Application.cpp
+++ b/src/gui/Application.cpp
@@ -35,7 +35,7 @@
 #include <QStandardPaths>
 
 #if defined(Q_OS_UNIX)
-#include <signal.h>
+#include <csignal>
 #include <sys/socket.h>
 #include <unistd.h>
 #endif
diff --git a/src/gui/styles/base/phantomcolor.cpp b/src/gui/styles/base/phantomcolor.cpp
index a11ab3c92..3689cfc3f 100644
--- a/src/gui/styles/base/phantomcolor.cpp
+++ b/src/gui/styles/base/phantomcolor.cpp
@@ -27,8 +27,8 @@
  */
 
 #include "phantomcolor.h"
+#include <cfloat>
 #include <cmath>
-#include <float.h>
 
 namespace Phantom
 {