summaryrefslogtreecommitdiff
blob: 72783553c2149474216d1cc53898ce0637da6ed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
recent versions of linux have dropped the hayes esp driver

http://bugs.gentoo.org/309883

--- a/setserial.c
+++ b/setserial.c
@@ -21,6 +21,8 @@
 #endif
 #ifdef HAVE_LINUX_HAYESESP_H
 #include <linux/hayesesp.h>
+#else
+#undef TIOCGHAYESESP
 #endif
 #include <linux/serial.h>