From a9b0b83f6ace70f5a7dd66b58a2be1241ab0ab1d Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Wed, 4 Apr 2001 15:51:10 +0000 Subject: [PATCH] windows.h is only included if _WIN32 is predefined (required for 16-bit DOS compiler compatibility). --- xtrn/sdk/xsdk.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xtrn/sdk/xsdk.h b/xtrn/sdk/xsdk.h index 4c5def9bd6..71aee8315b 100644 --- a/xtrn/sdk/xsdk.h +++ b/xtrn/sdk/xsdk.h @@ -46,9 +46,11 @@ #include <io.h> #include <dos.h> #include <share.h> - #include <windows.h> #include <conio.h> #endif +#ifdef _WIN32 + #include <windows.h> +#endif #include <time.h> #include <ctype.h> #include <stdio.h> -- GitLab