Skip to content

Commit f019d3d

Browse files
authored
Compiling with ethernet support requires etherdefs.h in certain places (#354)
1 parent 64957b5 commit f019d3d

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

src/initsout.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@
4747
#include "mkcelldefs.h"
4848
#include "testtooldefs.h"
4949

50+
#ifdef MAIKO_ENABLE_ETHERNET
51+
#include "etherdefs.h"
52+
#endif
53+
5054
/********** definitions for bitblt. add by osamu **********/
5155
DLword TEXTURE_atom;
5256
DLword MERGE_atom;

src/keyevent.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ void Mouse_hndlr(void); /* Fields mouse events from driver */
6666
#include "osmsgdefs.h"
6767
#include "xwinmandefs.h"
6868

69+
#ifdef MAIKO_ENABLE_ETHERNET
70+
#include "etherdefs.h"
71+
#endif /* MAIKO_ENABLE_ETHERNET */
72+
6973
#include "dbprint.h"
7074
#if (defined(DOS) || defined(XWINDOW))
7175
#include "devif.h"

src/uraid.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ extern int Win_security_p;
8585
#include "testtooldefs.h"
8686
#include "timerdefs.h"
8787
#include "vmemsavedefs.h"
88+
#ifdef MAIKO_ENABLE_ETHERNET
89+
#include "etherdefs.h"
90+
#endif
8891

8992
#ifdef DOS
9093
#define vfork() printf("No forking around here.\n")

0 commit comments

Comments
 (0)