Index: trunk/src/stringfile.c
===================================================================
--- trunk.orig/src/stringfile.c
+++ trunk/src/stringfile.c
@@ -12,6 +12,7 @@
 #include <dirent.h>
 #ifdef SYSBSD
 #include <termios.h>
+#include <sys/ioctl.h>
 typedef struct termios termstruct;
 #define TTY_GET_COMMAND TIOCGETA
 #define TTY_SET_COMMAND TIOCSETA
