Effectively revert the previous change:  leave the new #include in, but
comment it out with an explanation.  This makes it easier for someone
who wants the additional symbols to try re-enabling it for their platform.
diff --git a/Modules/termios.c b/Modules/termios.c
index 0bce7d3..146a16f 100644
--- a/Modules/termios.c
+++ b/Modules/termios.c
@@ -5,7 +5,10 @@
 #define PyInit_termios inittermios
 
 #include <termios.h>
+/* XXX Some systems need this to get all the symbols, while
+       this breaks for others.
 #include <sys/ioctl.h>
+*/
 
 static char termios__doc__[] = "\
 This module provides an interface to the Posix calls for tty I/O control.\n\