aboutsummaryrefslogtreecommitdiffstats
path: root/main/ser2net/TIOCSRS485.patch
blob: 8afd46f57aa7546be102a4bb1b86d22a09506330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ./devcfg.c.orig
+++ ./devcfg.c
@@ -41,6 +41,11 @@
 
 #include <assert.h>
 
+#ifndef TIOCSRS485
+#define TIOCSRS485    0x542F
+#endif
+
+
 struct devcfg_data {
     /* Information about the terminal device. */
     char           *devname;		/* The full path to the device */