diff --git a/src/TLSClient.cpp b/src/TLSClient.cpp
index c67ed44..72da081 100644
--- a/src/TLSClient.cpp
+++ b/src/TLSClient.cpp
@@ -36,11 +36,7 @@
 #include <string.h>
 #include <sys/socket.h>
 #include <arpa/inet.h>
-#if (defined OPENBSD || defined SOLARIS || defined NETBSD)
 #include <errno.h>
-#else
-#include <sys/errno.h>
-#endif
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netdb.h>