blob: 6389c44c5e9bf026c02d3c5944685e824cef6641 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
diff -pNaru5 a/pserial/perle-serial.c b/pserial/perle-serial.c
--- a/pserial/perle-serial.c 2021-09-14 11:10:48.772141908 -0400
+++ b/pserial/perle-serial.c 2021-09-14 11:10:59.679207370 -0400
@@ -70,10 +70,14 @@
* SERIAL_PARANOIA_CHECK
* Check the magic number for the async_structure where
* ever possible.
*/
+#undef __KERNEL__
+#include <linux/tty_flags.h>
+#define __KERNEL__ 1
+
#include <linux/version.h>
#if ! defined (LINUX_VERSION_CODE)
#error "Kernel version is not set"
#endif
|