diff --git a/src/i_tcp.c b/src/i_tcp.c
index 43dba4aa30f5b5c5e4e20bde93f67a06b51964f1..0728c7aac00c2ae91fe00caeb9d05831cdae896b 100644
--- a/src/i_tcp.c
+++ b/src/i_tcp.c
@@ -264,7 +264,7 @@ static void wattcp_outch(char s)
 
 #ifdef USE_WINSOCK
 // stupid microsoft makes things complicated
-static inline char *get_WSAErrorStr(int e)
+static char *get_WSAErrorStr(int e)
 {
 	static char buf[256]; // allow up to 255 bytes