From 5ab10a6bad88f7aff32292c34420e8f180d9756b Mon Sep 17 00:00:00 2001
From: Rob Swindell <rob@synchro.net>
Date: Thu, 26 Jan 2023 11:01:13 -0800
Subject: [PATCH] Don't try to #include XPDEV header files unless USE_XPDEV is
 defined

This fixes the Borland/Windows build of xsdk that broke yesterday.
---
 xtrn/sdk/xsdk.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/xtrn/sdk/xsdk.c b/xtrn/sdk/xsdk.c
index 307ce2b2e6..92783296b4 100644
--- a/xtrn/sdk/xsdk.c
+++ b/xtrn/sdk/xsdk.c
@@ -201,8 +201,10 @@
 \****************************************************************************/
 
 #include "xsdk.h"
-#include "conwrap.h"
-#include "threadwrap.h"
+#if defined USE_XPDEV
+	#include "conwrap.h"
+	#include "threadwrap.h"
+#endif
 
 #ifdef _WINSOCKAPI_
 WSADATA WSAData;		// WinSock data
-- 
GitLab