#endif
/* Return true if the terminal device is not suspended. */
-#define TERMINAL_ACTIVE_P(d) ((d)->type != output_termcap || (d)->display_info.tty->input)
+#define TERMINAL_ACTIVE_P(d) (((d)->type != output_termcap && (d)->type !=output_msdos_raw) || (d)->display_info.tty->input)
extern Lisp_Object get_terminal_param P_ ((struct terminal *, Lisp_Object));
extern struct terminal *get_terminal P_ ((Lisp_Object terminal, int));
/* The initial terminal device, created by initial_term_init. */
extern struct terminal *initial_terminal;
+#ifdef HAVE_GPM
+extern void close_gpm (void);
+#endif
+
/* arch-tag: 33a00ecc-52b5-4186-a410-8801ac9f087d
(do not change this comment) */