summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-04-05 18:26:31 (GMT)
committerFred Drake <fdrake@acm.org>2001-04-05 18:26:31 (GMT)
commitd3908e29523f2d2149571585ae8ff725eae6b531 (patch)
treec01bd86914c50a909aeb75371d7f94753c181f70 /Modules
parentd34a9c98a9ee275d2c737f32d9a1c98fb2b75dae (diff)
downloadcpython-d3908e29523f2d2149571585ae8ff725eae6b531.zip
cpython-d3908e29523f2d2149571585ae8ff725eae6b531.tar.gz
cpython-d3908e29523f2d2149571585ae8ff725eae6b531.tar.bz2
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.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/termios.c3
1 files changed, 3 insertions, 0 deletions
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\