From d43c17e1f3b87bbc19258562fd893b395a6711ac Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sat, 2 Dec 2000 01:59:15 +0000 Subject: [PATCH] Initial GNU support. --- xtrn/sdk/xsdk.h | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/xtrn/sdk/xsdk.h b/xtrn/sdk/xsdk.h index 20af4f8491..26e0d7adf5 100644 --- a/xtrn/sdk/xsdk.h +++ b/xtrn/sdk/xsdk.h @@ -42,17 +42,15 @@ /*********************************************/ /* Standard Borland/Turbo C/C++ Header Files */ /*********************************************/ -#include <io.h> -#include <dos.h> -#ifdef _WIN32 -#include <windows.h> -#else -#include <bios.h> +#ifndef __unix__ + #include <io.h> + #include <dos.h> + #include <share.h> + #include <windows.h> #endif #include <time.h> #include <ctype.h> #include <stdio.h> -#include <share.h> #include <conio.h> #include <errno.h> #include <fcntl.h> @@ -63,16 +61,9 @@ #include <sys/stat.h> #include <sys/types.h> -#ifdef __TURBOC__ - #include <dir.h> -#endif - -#ifdef __WATCOMC__ - #include <graph.h> -#endif - #define GLOBAL extern /* turns XSDKVAR.C into a header file */ #include "xsdkvars.c" +#include "sbbsinet.h" #ifdef __cplusplus extern "C" { -- GitLab