diff --git a/src/net/StaticSocketAddress.hxx b/src/net/StaticSocketAddress.hxx
index 72180f0bc..c91231138 100644
--- a/src/net/StaticSocketAddress.hxx
+++ b/src/net/StaticSocketAddress.hxx
@@ -35,13 +35,6 @@
 #include "Compiler.h"
 
 #include <assert.h>
-#include <stdint.h>
-
-#ifdef WIN32
-#include <winsock2.h>
-#else
-#include <sys/socket.h>
-#endif
 
 /**
  * An OO wrapper for struct sockaddr_storage.