diff options
Diffstat (limited to 'main/ser2net/TIOCSRS485.patch')
-rw-r--r-- | main/ser2net/TIOCSRS485.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/main/ser2net/TIOCSRS485.patch b/main/ser2net/TIOCSRS485.patch new file mode 100644 index 0000000000..8afd46f57a --- /dev/null +++ b/main/ser2net/TIOCSRS485.patch @@ -0,0 +1,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 */ |