diff --git a/apps/EchoServer.cpp b/apps/EchoServer.cpp
index 7b92494aef8287c659779e1774b268e0f479e290..0aa3eb4b2d51be69cf44d9904e28938f810305db 100644
--- a/apps/EchoServer.cpp
+++ b/apps/EchoServer.cpp
@@ -1,7 +1,6 @@
 // SPDX-License-Identifier: LGPL-3.0-or-later
 // Copyright © 2020-2021 Florian Fischer
 #include <sys/socket.h>
-#include <sys/types.h>
 
 #include <atomic>
 #include <cerrno>
diff --git a/emper/c_emper.cpp b/emper/c_emper.cpp
index 34b57623290ebdd02ad13bbde3074d2566951acc..bb9da66220f6cbea005ee879170ed4ba992ad423 100644
--- a/emper/c_emper.cpp
+++ b/emper/c_emper.cpp
@@ -14,7 +14,6 @@
 #include <sys/types.h>	 // for off_t
 
 #include <cstdarg>
-#include <cstddef>	// for size_t
 
 #include "io.hpp"	 // for emper::io::emper_*
 #endif
diff --git a/emper/io/Stats.hpp b/emper/io/Stats.hpp
index eb181455b1edcc7aa1498c77c0b609973b8d2756..ee8ac222043e1212a7db3a821bf31339e5e9779c 100644
--- a/emper/io/Stats.hpp
+++ b/emper/io/Stats.hpp
@@ -5,7 +5,6 @@
 #include <sys/types.h>								// for ssize_t
 
 #include <boost/circular_buffer.hpp>
-#include <boost/core/pointer_traits.hpp>
 #include <chrono>		 // for nanoseconds
 #include <cstddef>	 // for size_t
 #include <cstdint>	 // for uint64_t, int32_t, uint32_t
diff --git a/tests/fixtures/network.cpp b/tests/fixtures/network.cpp
index c21cf7c3f30b2d1c30ebce01518de8bac7c782c5..156a2810ab6d443bb806808f0977e8c17d4d9fb9 100644
--- a/tests/fixtures/network.cpp
+++ b/tests/fixtures/network.cpp
@@ -4,7 +4,6 @@
 
 #include <netdb.h>
 #include <sys/socket.h>
-#include <sys/types.h>
 
 #include <cassert>
 #include <cstdlib>
diff --git a/tests/io/TimeoutTest.cpp b/tests/io/TimeoutTest.cpp
index dfd7283e6ef4877086d38ed78eae3bf2cd8ace0b..a46813c5cfcdb767dc6b81ae3b9a9dbc5ddaeb45 100644
--- a/tests/io/TimeoutTest.cpp
+++ b/tests/io/TimeoutTest.cpp
@@ -3,7 +3,6 @@
 #include <netinet/in.h>
 #include <sys/eventfd.h>
 #include <sys/socket.h>
-#include <sys/types.h>
 
 #include <cerrno>
 #include <cstdint>