aports/main/ser2net/TIOCSRS485.patch
2014-11-04 10:40:04 +00:00

15 lines
278 B
Diff

--- ./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 */