summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/s/sol2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/s/sol2.h b/src/s/sol2.h
index 5255b773dca..12b37246bc5 100644
--- a/src/s/sol2.h
+++ b/src/s/sol2.h
@@ -1,5 +1,10 @@
#include "usg5-4.h"
+/* eggert@twinsun.com said these work in Solaris.
+ Perhaps they work in all kinds of SVR4, but this is more conservative. */
+#undef BROKEN_TIOCGETC
+#undef BROKEN_TIOCGWINSZ
+
/* This triggers a conditional in xfaces.c. */
#define XOS_NEEDS_TIME_H