* TCSETX/TCGETX ioctls used with struct termiox, others do not.
*/
+#include <config.h>
#include <stdlib.h>
#include <linux/termios.h>
#include "linux_termios.h"
#endif
}
-#if (defined(HAVE_TERMIOS_SPEED) || defined(HAVE_TERMIOS2_SPEED)) && defined(HAVE_DECL_BOTHER)
+#if (defined(HAVE_TERMIOS_SPEED) || defined(HAVE_TERMIOS2_SPEED)) && HAVE_DECL_BOTHER
SP_PRIV int get_termios_speed(void *data)
{
#ifdef HAVE_STRUCT_TERMIOS2