--- brltty-6.7/Programs/file.c.orig
+++ brltty-6.7/Programs/file.c
@@ -27,6 +27,7 @@
 #include <sys/stat.h>
 #include <limits.h>
 #include <locale.h>
+#include <termios.h>
 
 #ifdef HAVE_LANGINFO_H
 #include <langinfo.h>