summaryrefslogtreecommitdiffstats
path: root/brltty/brltty-4.2-S_ISCHR.patch
diff options
context:
space:
mode:
Diffstat (limited to 'brltty/brltty-4.2-S_ISCHR.patch')
-rw-r--r--brltty/brltty-4.2-S_ISCHR.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/brltty/brltty-4.2-S_ISCHR.patch b/brltty/brltty-4.2-S_ISCHR.patch
new file mode 100644
index 000000000..eddac9616
--- /dev/null
+++ b/brltty/brltty-4.2-S_ISCHR.patch
@@ -0,0 +1,11 @@
+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