Skip to content

Commit 6f9b03e

Browse files
karlpgsigh
authored andcommitted
HACK: don't even check for termiox
termiox was removed from linux in e0efb3168d34 Some more information available in https://www.spinics.net/lists/linux-serial/msg41926.html Attempting to use the termiox ioctls on more modern kernels results in "Inappropriate IOCTL" errors. While the "right" solution might be to remove the termiox code from the linux path, simply not checking for termiox builds a libserialport that functions on modern linux kernels. Signed-off-by: Karl Palsson <[email protected]>
1 parent 1abec20 commit 6f9b03e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ AC_SYS_LARGEFILE
112112
AC_TYPE_SIZE_T
113113

114114
# Check for specific termios structures.
115-
AC_CHECK_TYPES([struct termios2, struct termiox],,,
115+
AC_CHECK_TYPES([struct termios2],,,
116116
[[#include <linux/termios.h>]])
117117
AC_CHECK_MEMBERS([struct termios.c_ispeed, struct termios.c_ospeed,
118118
struct termios2.c_ispeed, struct termios2.c_ospeed],,,

0 commit comments

Comments
 (0)