diff --git a/src/sbbs3/sbbsinet.h b/src/sbbs3/sbbsinet.h
index d9140df6e7da81fe6d42dfea8f216b1bd6b83c65..91701fbd24e9e6699e2912d99d08c62cb5ad3569 100644
--- a/src/sbbs3/sbbsinet.h
+++ b/src/sbbs3/sbbsinet.h
@@ -85,8 +85,6 @@
 
 #define ERROR_VALUE		WSAGetLastError()
 
-#define SHUT_RDWR		2	/* for shutdown() */
-
 #else	/* BSD sockets */
 
 /* WinSock-isms */
@@ -102,4 +100,8 @@
 
 #endif	/* __unix__ */
 
+#ifndef SHUT_RDWR
+#define SHUT_RDWR		2	/* for shutdown() */
+#endif
+
 #endif	/* Don't add anything after this line */