--- freem/src/service.c	2025/03/24 01:54:09	1.9
+++ freem/src/service.c	2025/03/24 01:55:46	1.10
@@ -1,5 +1,5 @@
 /*
- *   $Id: service.c,v 1.9 2025/03/24 01:54:09 snw Exp $
+ *   $Id: service.c,v 1.10 2025/03/24 01:55:46 snw Exp $
  *    terminal and sequential I/O handling,
  *    file and global locking
  *
@@ -25,6 +25,9 @@
  *   along with FreeM.  If not, see .
  *
  *   $Log: service.c,v $
+ *   Revision 1.10  2025/03/24 01:55:46  snw
+ *   Work around some OS/2 incompatibilities in service.c
+ *
  *   Revision 1.9  2025/03/24 01:54:09  snw
  *   Work around some OS/2 incompatibilities in set_break and set_zbreak
  *
@@ -85,6 +88,10 @@ int scosgr (short att, short bwflag);
 #  if !defined(MSDOS)
 #    include 
 #  endif
+#  if defined(__OS2__)
+#    include 
+#    define termio termios
+#  endif
 # endif
 #else
 # include