Index: /neercs/trunk/src/term.c
===================================================================
--- /neercs/trunk/src/term.c	(revision 4792)
+++ /neercs/trunk/src/term.c	(revision 4793)
@@ -17,4 +17,7 @@
 #include <stdio.h>
 #include <string.h>
+#include <sys/ioctl.h>
+#include <sys/types.h>
+#include <termios.h>
 #if defined HAVE_PTY_H
 #   include <pty.h>             /* for openpty and forkpty */
