From f019d3ddc284b628e0c9a43b5754c19139bcc8b7 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Sat, 13 Feb 2021 17:22:27 -0800 Subject: [PATCH] Compiling with ethernet support requires etherdefs.h in certain places (#354) --- src/initsout.c | 4 ++++ src/keyevent.c | 4 ++++ src/uraid.c | 3 +++ 3 files changed, 11 insertions(+) diff --git a/src/initsout.c b/src/initsout.c index 3de8f89..31d6d80 100644 --- a/src/initsout.c +++ b/src/initsout.c @@ -47,6 +47,10 @@ #include "mkcelldefs.h" #include "testtooldefs.h" +#ifdef MAIKO_ENABLE_ETHERNET +#include "etherdefs.h" +#endif + /********** definitions for bitblt. add by osamu **********/ DLword TEXTURE_atom; DLword MERGE_atom; diff --git a/src/keyevent.c b/src/keyevent.c index 31bb848..7119c59 100644 --- a/src/keyevent.c +++ b/src/keyevent.c @@ -66,6 +66,10 @@ void Mouse_hndlr(void); /* Fields mouse events from driver */ #include "osmsgdefs.h" #include "xwinmandefs.h" +#ifdef MAIKO_ENABLE_ETHERNET +#include "etherdefs.h" +#endif /* MAIKO_ENABLE_ETHERNET */ + #include "dbprint.h" #if (defined(DOS) || defined(XWINDOW)) #include "devif.h" diff --git a/src/uraid.c b/src/uraid.c index 7eda37b..d80181e 100644 --- a/src/uraid.c +++ b/src/uraid.c @@ -85,6 +85,9 @@ extern int Win_security_p; #include "testtooldefs.h" #include "timerdefs.h" #include "vmemsavedefs.h" +#ifdef MAIKO_ENABLE_ETHERNET +#include "etherdefs.h" +#endif #ifdef DOS #define vfork() printf("No forking around here.\n")