summaryrefslogtreecommitdiff
path: root/package/util-linux/patches/patch-include_ttyutils_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/util-linux/patches/patch-include_ttyutils_h')
-rw-r--r--package/util-linux/patches/patch-include_ttyutils_h12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/util-linux/patches/patch-include_ttyutils_h b/package/util-linux/patches/patch-include_ttyutils_h
new file mode 100644
index 000000000..2fd1baed0
--- /dev/null
+++ b/package/util-linux/patches/patch-include_ttyutils_h
@@ -0,0 +1,12 @@
+patch taken from sabotage linux -- https://github.com/rofl0r/sabotage
+
+--- util-linux-2.23.2.orig/include/ttyutils.h 2013-07-15 10:25:46.000000000 +0200
++++ util-linux-2.23.2/include/ttyutils.h 2013-08-14 12:31:25.000000000 +0200
+@@ -10,6 +10,7 @@
+ #include <stdlib.h>
+ #include <termios.h>
+ #include <limits.h>
++#include <sys/ttydefaults.h>
+ #ifdef HAVE_SYS_IOCTL_H
+ #include <sys/ioctl.h>
+ #endif