--- freem/src/init.c 2025/04/20 03:13:17 1.14 +++ freem/src/init.c 2025/05/16 04:02:14 1.15 @@ -1,5 +1,5 @@ /* - * $Id: init.c,v 1.14 2025/04/20 03:13:17 snw Exp $ + * $Id: init.c,v 1.15 2025/05/16 04:02:14 snw Exp $ * FreeM initialization * * @@ -24,6 +24,9 @@ * along with FreeM. If not, see . * * $Log: init.c,v $ + * Revision 1.15 2025/05/16 04:02:14 snw + * Make FreeM build on macOS on Apple Silicon + * * Revision 1.14 2025/04/20 03:13:17 snw * Updates to init_execution_context * @@ -85,6 +88,12 @@ # include #endif +#if defined(__APPLE__) +# define termio termios +# define TCGETA TIOCGETA +# define TCSETA TIOCSETA +#endif + #include "config.h" #if defined(HAVE_MWAPI_MOTIF)