brltty/brltty-4.2-S_ISCHR.patch
2010-05-21 13:17:15 +00:00

12 lines
382 B
Diff

diff -up brltty-4.2/Programs/sys_linux.c.BAD brltty-4.2/Programs/sys_linux.c
--- brltty-4.2/Programs/sys_linux.c.BAD 2010-05-21 09:04:10.003122084 -0400
+++ brltty-4.2/Programs/sys_linux.c 2010-05-21 09:04:19.376198268 -0400
@@ -23,6 +23,7 @@
#include <errno.h>
#include <fcntl.h>
#include <sys/ioctl.h>
+#include <sys/stat.h>
#include <linux/kd.h>
#ifdef HAVE_LINUX_INPUT_H