--- socat-1.3/config.h-orig 2005-07-11 15:34:20.775808955 -0700 +++ socat-1.3/config.h 2005-07-11 15:35:43.087809148 -0700 @@ -206,7 +206,7 @@ /* the offset of c_ispeed in struct termios - usable in an speed_t array. Applies only when HAVE_TERMIOS_ISPEED is set */ -/* #undef ISPEED_OFFSET */ +#define ISPEED_OFFSET 18 /* the offset of c_ospeed in struct termios - see ISPEED_OFFSET */ #ifdef ISPEED_OFFSET