diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/core/os_abstraction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h index d90b152a5..c4cbcee20 100644 --- a/src/network/core/os_abstraction.h +++ b/src/network/core/os_abstraction.h @@ -124,6 +124,9 @@ typedef unsigned long in_addr_t; #if defined(__MORPHOS__) || defined(__AMIGA__) # include <exec/types.h> # include <proto/exec.h> // required for Open/CloseLibrary() + /* MorphOS defines his network functions with UBYTE arrays while we + * use char arrays. This gives tons of unneeded warnings */ +# define UBYTE char # if defined(__MORPHOS__) # include <sys/filio.h> // FIO* defines # include <sys/sockio.h> // SIO* defines |