From eb1f6005f327932652a84f01e298395ced7a3687 Mon Sep 17 00:00:00 2001 From: Bladen Martin Date: Mon, 8 Jun 2020 21:53:17 +0530 Subject: Code has been made OS independent --- src/ghdlserver/ghdlserver.h | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'src/ghdlserver/ghdlserver.h') diff --git a/src/ghdlserver/ghdlserver.h b/src/ghdlserver/ghdlserver.h index 9f23f0b..0011d00 100644 --- a/src/ghdlserver/ghdlserver.h +++ b/src/ghdlserver/ghdlserver.h @@ -1,13 +1,31 @@ /* 18.Mar.2017 - RM - Cleaned up.*/ +/* 20.June.2020 - BM - Added OS dependent includes*/ +#define _GNU_SOURCE +#include #include #include -#include + #include #include +#include + +#ifdef __linux__ #include #include #include +#endif + +#ifdef _WIN32 +#include +#include +#include +#include +#endif + + + + // Should be enough.. #define MAX_BUF_SIZE 4096 -- cgit