diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 19 | ||||
| -rw-r--r-- | src/fileio.c | 23 | ||||
| -rw-r--r-- | src/m/ibmrs6000.h | 9 | ||||
| -rw-r--r-- | src/m/iris4d.h | 11 | ||||
| -rw-r--r-- | src/s/aix4-2.h | 4 | ||||
| -rw-r--r-- | src/s/freebsd.h | 2 | ||||
| -rw-r--r-- | src/s/gnu-linux.h | 8 | ||||
| -rw-r--r-- | src/s/hpux10-20.h | 6 | ||||
| -rw-r--r-- | src/s/hpux11.h | 2 | ||||
| -rw-r--r-- | src/s/netbsd.h | 2 | ||||
| -rw-r--r-- | src/s/sol2-3.h | 3 | ||||
| -rw-r--r-- | src/s/sol2-4.h | 2 | ||||
| -rw-r--r-- | src/s/sol2.h | 5 | ||||
| -rw-r--r-- | src/s/usg5-4.h | 5 | ||||
| -rw-r--r-- | src/s/vms.h | 5 | ||||
| -rw-r--r-- | src/sysdep.c | 8 | ||||
| -rw-r--r-- | src/systty.h | 4 |
17 files changed, 22 insertions, 96 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a7578f2fe65..c88e7884cfe 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,22 @@ | |||
| 1 | 2008-07-10 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * src/fileio.c: | ||
| 4 | * src/sysdep.c | ||
| 5 | * src/systty.h: | ||
| 6 | * src/m/ibmrs6000.h: | ||
| 7 | * src/m/iris4d.h: | ||
| 8 | * src/s/aix4-2.h: | ||
| 9 | * src/s/freebsd.h: | ||
| 10 | * src/s/gnu-linux.h: | ||
| 11 | * src/s/hpux10-20.h: | ||
| 12 | * src/s/hpux11.h: | ||
| 13 | * src/s/netbsd.h: | ||
| 14 | * src/s/sol2-3.h: | ||
| 15 | * src/s/sol2-4.h: | ||
| 16 | * src/s/sol2.h: | ||
| 17 | * src/s/usg5-4.h: | ||
| 18 | * src/s/vms.h: Remove references to unused variables. | ||
| 19 | |||
| 1 | 2008-07-10 Andreas Schwab <schwab@suse.de> | 20 | 2008-07-10 Andreas Schwab <schwab@suse.de> |
| 2 | 21 | ||
| 3 | * ftfont.c (ftfont_resolve_generic_family): Remove foundry from | 22 | * ftfont.c (ftfont_resolve_generic_family): Remove foundry from |
diff --git a/src/fileio.c b/src/fileio.c index abe77e2e9ef..2544bd50e40 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -2987,26 +2987,6 @@ If STRING is nil or a null string, the logical name NAME is deleted. */) | |||
| 2987 | } | 2987 | } |
| 2988 | #endif /* VMS */ | 2988 | #endif /* VMS */ |
| 2989 | 2989 | ||
| 2990 | #ifdef HPUX_NET | ||
| 2991 | |||
| 2992 | DEFUN ("sysnetunam", Fsysnetunam, Ssysnetunam, 2, 2, 0, | ||
| 2993 | doc: /* Open a network connection to PATH using LOGIN as the login string. */) | ||
| 2994 | (path, login) | ||
| 2995 | Lisp_Object path, login; | ||
| 2996 | { | ||
| 2997 | int netresult; | ||
| 2998 | |||
| 2999 | CHECK_STRING (path); | ||
| 3000 | CHECK_STRING (login); | ||
| 3001 | |||
| 3002 | netresult = netunam (SDATA (path), SDATA (login)); | ||
| 3003 | |||
| 3004 | if (netresult == -1) | ||
| 3005 | return Qnil; | ||
| 3006 | else | ||
| 3007 | return Qt; | ||
| 3008 | } | ||
| 3009 | #endif /* HPUX_NET */ | ||
| 3010 | 2990 | ||
| 3011 | DEFUN ("file-name-absolute-p", Ffile_name_absolute_p, Sfile_name_absolute_p, | 2991 | DEFUN ("file-name-absolute-p", Ffile_name_absolute_p, Sfile_name_absolute_p, |
| 3012 | 1, 1, 0, | 2992 | 1, 1, 0, |
| @@ -6398,9 +6378,6 @@ When non-nil, the function `move-file-to-trash' will be used by | |||
| 6398 | #ifdef VMS | 6378 | #ifdef VMS |
| 6399 | defsubr (&Sdefine_logical_name); | 6379 | defsubr (&Sdefine_logical_name); |
| 6400 | #endif /* VMS */ | 6380 | #endif /* VMS */ |
| 6401 | #ifdef HPUX_NET | ||
| 6402 | defsubr (&Ssysnetunam); | ||
| 6403 | #endif /* HPUX_NET */ | ||
| 6404 | defsubr (&Sfile_name_absolute_p); | 6381 | defsubr (&Sfile_name_absolute_p); |
| 6405 | defsubr (&Sfile_exists_p); | 6382 | defsubr (&Sfile_exists_p); |
| 6406 | defsubr (&Sfile_executable_p); | 6383 | defsubr (&Sfile_executable_p); |
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h index db6ebee0d78..40c74688f9f 100644 --- a/src/m/ibmrs6000.h +++ b/src/m/ibmrs6000.h | |||
| @@ -86,7 +86,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 86 | /* Use shared memory. */ | 86 | /* Use shared memory. */ |
| 87 | /* This is turned off because it does not always work. See etc/AIX.DUMP. */ | 87 | /* This is turned off because it does not always work. See etc/AIX.DUMP. */ |
| 88 | /* #define HAVE_SHM */ | 88 | /* #define HAVE_SHM */ |
| 89 | #define SHMKEY 5305035 /* used for shared memory code segments */ | ||
| 90 | #endif /* CANNOT_DUMP */ | 89 | #endif /* CANNOT_DUMP */ |
| 91 | 90 | ||
| 92 | #define N_BADMAG(x) BADMAG(x) | 91 | #define N_BADMAG(x) BADMAG(x) |
| @@ -100,11 +99,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 100 | #undef ADDR_CORRECT | 99 | #undef ADDR_CORRECT |
| 101 | #define ADDR_CORRECT(x) ((int)(x)) | 100 | #define ADDR_CORRECT(x) ((int)(x)) |
| 102 | 101 | ||
| 103 | /* Specify the font for X to use. | ||
| 104 | This used to be Rom14.500; that's nice on the X server shipped with | ||
| 105 | the RS/6000, but it's not available on other servers. */ | ||
| 106 | #define X_DEFAULT_FONT "fixed" | ||
| 107 | |||
| 108 | /* Here override various assumptions in ymakefile */ | 102 | /* Here override various assumptions in ymakefile */ |
| 109 | 103 | ||
| 110 | #ifndef USG5 | 104 | #ifndef USG5 |
| @@ -141,8 +135,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 141 | #define BROKEN_SIGPTY | 135 | #define BROKEN_SIGPTY |
| 142 | #define BROKEN_SIGPOLL | 136 | #define BROKEN_SIGPOLL |
| 143 | 137 | ||
| 144 | /* Don't try to include sioctl.h or ptem.h. */ | 138 | /* Don't try to include ptem.h. */ |
| 145 | #undef NEED_SIOCTL | ||
| 146 | #undef NEED_PTEM_H | 139 | #undef NEED_PTEM_H |
| 147 | 140 | ||
| 148 | #define ORDINARY_LINK | 141 | #define ORDINARY_LINK |
diff --git a/src/m/iris4d.h b/src/m/iris4d.h index 89eee47d49b..f6fd3f245df 100644 --- a/src/m/iris4d.h +++ b/src/m/iris4d.h | |||
| @@ -101,21 +101,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 101 | #define LIBS_MACHINE | 101 | #define LIBS_MACHINE |
| 102 | #define LIBS_DEBUG | 102 | #define LIBS_DEBUG |
| 103 | 103 | ||
| 104 | /* Define this if you have a fairly recent system, | ||
| 105 | in which crt1.o and crt1.n should be used. */ | ||
| 106 | #define HAVE_CRTN | ||
| 107 | |||
| 108 | #ifndef USG5_4 | 104 | #ifndef USG5_4 |
| 109 | #ifdef HAVE_CRTN | ||
| 110 | /* Must define START-FILES so that the linker can find /usr/lib/crt0.o. */ | 105 | /* Must define START-FILES so that the linker can find /usr/lib/crt0.o. */ |
| 111 | #define START_FILES pre-crt0.o /usr/lib/crt1.o | 106 | #define START_FILES pre-crt0.o /usr/lib/crt1.o |
| 112 | #define LIB_STANDARD -lc /usr/lib/crtn.o | 107 | #define LIB_STANDARD -lc /usr/lib/crtn.o |
| 113 | #else | ||
| 114 | #define START_FILES pre-crt0.o /usr/lib/crt0.o | ||
| 115 | /* The entry-point label (start of text segment) is `start', not `__start'. */ | ||
| 116 | #define DEFAULT_ENTRY_ADDRESS start | ||
| 117 | #define LIB_STANDARD -lc | ||
| 118 | #endif | ||
| 119 | #endif | 108 | #endif |
| 120 | 109 | ||
| 121 | /* Use terminfo instead of termcap. */ | 110 | /* Use terminfo instead of termcap. */ |
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h index 2b31e2c8167..9c075ead658 100644 --- a/src/s/aix4-2.h +++ b/src/s/aix4-2.h | |||
| @@ -176,10 +176,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 176 | It is just a guess which versions of AIX need this definition. */ | 176 | It is just a guess which versions of AIX need this definition. */ |
| 177 | #define HAVE_WAIT_HEADER | 177 | #define HAVE_WAIT_HEADER |
| 178 | 178 | ||
| 179 | /* Specify the type that the 3rd arg of `accept' points to. | ||
| 180 | It is just a guess which versions of AIX need this definition. */ | ||
| 181 | #define SOCKLEN_TYPE int | ||
| 182 | |||
| 183 | /* olson@mcs.anl.gov says -li18n is needed by -lXm. */ | 179 | /* olson@mcs.anl.gov says -li18n is needed by -lXm. */ |
| 184 | #define LIB_MOTIF -lXm -li18n | 180 | #define LIB_MOTIF -lXm -li18n |
| 185 | 181 | ||
diff --git a/src/s/freebsd.h b/src/s/freebsd.h index 11df2001f86..779d944b6f6 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h | |||
| @@ -91,8 +91,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 91 | #define LIB_GCC -lgcc | 91 | #define LIB_GCC -lgcc |
| 92 | 92 | ||
| 93 | #ifndef N_TRELOFF | 93 | #ifndef N_TRELOFF |
| 94 | #define N_PAGSIZ(x) __LDPGSZ | ||
| 95 | #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data)) | ||
| 96 | #define N_TRELOFF(x) N_RELOFF(x) | 94 | #define N_TRELOFF(x) N_RELOFF(x) |
| 97 | #endif | 95 | #endif |
| 98 | #else /* NO_SHARED_LIBS */ | 96 | #else /* NO_SHARED_LIBS */ |
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 660462a679d..39b9db496fc 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -43,7 +43,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 43 | #include <linux/version.h> | 43 | #include <linux/version.h> |
| 44 | 44 | ||
| 45 | #if LINUX_VERSION_CODE >= 0x20400 | 45 | #if LINUX_VERSION_CODE >= 0x20400 |
| 46 | #define LINUX_SIGNALS_VIA_CHARACTERS_DOES_WORK | 46 | /* 21 Jun 06: Eric Hanchrow <offby1@blarg.net> says this works. */ |
| 47 | #define SIGNALS_VIA_CHARACTERS | ||
| 47 | #endif /* LINUX_VERSION_CODE >= 0x20400 */ | 48 | #endif /* LINUX_VERSION_CODE >= 0x20400 */ |
| 48 | #endif /* HAVE_LINUX_VERSION_H */ | 49 | #endif /* HAVE_LINUX_VERSION_H */ |
| 49 | #endif /* emacs */ | 50 | #endif /* emacs */ |
| @@ -223,11 +224,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 223 | #define C_DEBUG_SWITCH | 224 | #define C_DEBUG_SWITCH |
| 224 | #endif | 225 | #endif |
| 225 | 226 | ||
| 226 | /* 21 Jun 06: Eric Hanchrow <offby1@blarg.net> says this works. */ | ||
| 227 | #ifdef LINUX_SIGNALS_VIA_CHARACTERS_DOES_WORK | ||
| 228 | #define SIGNALS_VIA_CHARACTERS | ||
| 229 | #endif | ||
| 230 | |||
| 231 | /* Rob Malouf <malouf@csli.stanford.edu> says: | 227 | /* Rob Malouf <malouf@csli.stanford.edu> says: |
| 232 | SYSV IPC is standard a standard part of Linux since version 0.99pl10, | 228 | SYSV IPC is standard a standard part of Linux since version 0.99pl10, |
| 233 | and is a very common addition to previous versions. */ | 229 | and is a very common addition to previous versions. */ |
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h index 8ea24fc4dc8..8411f74191b 100644 --- a/src/s/hpux10-20.h +++ b/src/s/hpux10-20.h | |||
| @@ -227,16 +227,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 227 | #undef random | 227 | #undef random |
| 228 | #undef HAVE_RANDOM | 228 | #undef HAVE_RANDOM |
| 229 | 229 | ||
| 230 | #define FORCE_ALLOCA_H | ||
| 231 | |||
| 232 | /* AlainF 20-Jul-1996 says this is right. */ | 230 | /* AlainF 20-Jul-1996 says this is right. */ |
| 233 | #define KERNEL_FILE "/stand/vmunix" | 231 | #define KERNEL_FILE "/stand/vmunix" |
| 234 | 232 | ||
| 235 | #ifdef HPUX_NET | ||
| 236 | #define LIBS_SYSTEM -ln -l:libdld.sl | ||
| 237 | #else | ||
| 238 | #define LIBS_SYSTEM -l:libdld.sl | 233 | #define LIBS_SYSTEM -l:libdld.sl |
| 239 | #endif | ||
| 240 | 234 | ||
| 241 | /* Rainer Malzbender <rainer@displaytech.com> says definining | 235 | /* Rainer Malzbender <rainer@displaytech.com> says definining |
| 242 | HAVE_XRMSETDATABASE allows Emacs to compile on HP-UX 10.20 | 236 | HAVE_XRMSETDATABASE allows Emacs to compile on HP-UX 10.20 |
diff --git a/src/s/hpux11.h b/src/s/hpux11.h index 7bd4afb116b..3382395a90f 100644 --- a/src/s/hpux11.h +++ b/src/s/hpux11.h | |||
| @@ -1,7 +1,5 @@ | |||
| 1 | #include "hpux10-20.h" | 1 | #include "hpux10-20.h" |
| 2 | 2 | ||
| 3 | #define HPUX11 | ||
| 4 | |||
| 5 | #ifdef POSIX_SIGNALS | 3 | #ifdef POSIX_SIGNALS |
| 6 | #undef POSIX_SIGNALS | 4 | #undef POSIX_SIGNALS |
| 7 | #endif | 5 | #endif |
diff --git a/src/s/netbsd.h b/src/s/netbsd.h index 0e9b0a8443d..951e00091fc 100644 --- a/src/s/netbsd.h +++ b/src/s/netbsd.h | |||
| @@ -72,8 +72,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 72 | 72 | ||
| 73 | /* Try to make this work for both 0.9 and >0.9. */ | 73 | /* Try to make this work for both 0.9 and >0.9. */ |
| 74 | #ifndef N_TRELOFF | 74 | #ifndef N_TRELOFF |
| 75 | #define N_PAGSIZ(x) __LDPGSZ | ||
| 76 | #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data)) | ||
| 77 | #define N_TRELOFF(x) N_RELOFF(x) | 75 | #define N_TRELOFF(x) N_RELOFF(x) |
| 78 | #endif | 76 | #endif |
| 79 | #endif /* not NO_SHARED_LIBS and not ELF */ | 77 | #endif /* not NO_SHARED_LIBS and not ELF */ |
diff --git a/src/s/sol2-3.h b/src/s/sol2-3.h index 3473eec4cb3..3adad4bf11a 100644 --- a/src/s/sol2-3.h +++ b/src/s/sol2-3.h | |||
| @@ -21,9 +21,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 21 | 21 | ||
| 22 | #include "sol2.h" | 22 | #include "sol2.h" |
| 23 | 23 | ||
| 24 | /* Solaris 2.3 has a bug in XListFontsWithInfo. */ | ||
| 25 | #define BROKEN_XLISTFONTSWITHINFO | ||
| 26 | |||
| 27 | /* Override LD_SWITCH_SYSTEM: add -L /usr/ccs/lib to the sol2.h value. */ | 24 | /* Override LD_SWITCH_SYSTEM: add -L /usr/ccs/lib to the sol2.h value. */ |
| 28 | 25 | ||
| 29 | #undef LD_SWITCH_SYSTEM | 26 | #undef LD_SWITCH_SYSTEM |
diff --git a/src/s/sol2-4.h b/src/s/sol2-4.h index 8ac97eaa6df..3cf2786c500 100644 --- a/src/s/sol2-4.h +++ b/src/s/sol2-4.h | |||
| @@ -2,8 +2,6 @@ | |||
| 2 | 2 | ||
| 3 | #include "sol2-3.h" | 3 | #include "sol2-3.h" |
| 4 | 4 | ||
| 5 | #define SOLARIS2_4 | ||
| 6 | |||
| 7 | /* Get rid of -traditional and let const really do its thing. */ | 5 | /* Get rid of -traditional and let const really do its thing. */ |
| 8 | 6 | ||
| 9 | #ifdef __GNUC__ | 7 | #ifdef __GNUC__ |
diff --git a/src/s/sol2.h b/src/s/sol2.h index 10733de1d0b..aa30be3675c 100644 --- a/src/s/sol2.h +++ b/src/s/sol2.h | |||
| @@ -22,11 +22,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 22 | 22 | ||
| 23 | #define SOLARIS2 | 23 | #define SOLARIS2 |
| 24 | 24 | ||
| 25 | /* eggert@twinsun.com said these work in Solaris. | ||
| 26 | Perhaps they work in all kinds of SVR4, but this is more conservative. */ | ||
| 27 | #undef BROKEN_TIOCGETC | ||
| 28 | #undef BROKEN_TIOCGWINSZ | ||
| 29 | |||
| 30 | /* This triggers a conditional in xfaces.c. */ | 25 | /* This triggers a conditional in xfaces.c. */ |
| 31 | #define XOS_NEEDS_TIME_H | 26 | #define XOS_NEEDS_TIME_H |
| 32 | 27 | ||
diff --git a/src/s/usg5-4.h b/src/s/usg5-4.h index a0309d7439a..84c357c02a2 100644 --- a/src/s/usg5-4.h +++ b/src/s/usg5-4.h | |||
| @@ -201,9 +201,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 201 | #endif | 201 | #endif |
| 202 | 202 | ||
| 203 | #ifdef emacs | 203 | #ifdef emacs |
| 204 | #ifndef NO_FILIO_H | ||
| 205 | #include <sys/filio.h> | 204 | #include <sys/filio.h> |
| 206 | #endif | ||
| 207 | #include <termio.h> | 205 | #include <termio.h> |
| 208 | #include <sys/ttold.h> | 206 | #include <sys/ttold.h> |
| 209 | #include <signal.h> | 207 | #include <signal.h> |
| @@ -283,9 +281,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 283 | if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ | 281 | if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ |
| 284 | fatal ("ioctl I_PUSH ttcompat", errno); | 282 | fatal ("ioctl I_PUSH ttcompat", errno); |
| 285 | 283 | ||
| 286 | /* Tell x11term.c and keyboard.c we have the system V streams feature. */ | ||
| 287 | #define SYSV_STREAMS | ||
| 288 | |||
| 289 | /* This definition was suggested for next release. | 284 | /* This definition was suggested for next release. |
| 290 | So give it a try. */ | 285 | So give it a try. */ |
| 291 | #define HAVE_SOCKETS | 286 | #define HAVE_SOCKETS |
diff --git a/src/s/vms.h b/src/s/vms.h index 78e82736a68..413c302e8c7 100644 --- a/src/s/vms.h +++ b/src/s/vms.h | |||
| @@ -151,7 +151,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 151 | 151 | ||
| 152 | #ifndef _GNUC_ | 152 | #ifndef _GNUC_ |
| 153 | extern double mth$dmod(double, double); | 153 | extern double mth$dmod(double, double); |
| 154 | #define drem mth$dmod | ||
| 155 | #endif | 154 | #endif |
| 156 | 155 | ||
| 157 | /* Some time routines are missing in the VAX C RTL, or needs some | 156 | /* Some time routines are missing in the VAX C RTL, or needs some |
| @@ -240,10 +239,6 @@ globalref char sdata[]; | |||
| 240 | 239 | ||
| 241 | #define NULL_DEVICE "NLA0:" | 240 | #define NULL_DEVICE "NLA0:" |
| 242 | 241 | ||
| 243 | #define TERMCAP_NAME "emacs_library:[etc]termcap.dat" | ||
| 244 | |||
| 245 | #define EXEC_SUFFIXES ".exe:.com" | ||
| 246 | |||
| 247 | /* Case conflict with Xlib XFree () */ | 242 | /* Case conflict with Xlib XFree () */ |
| 248 | #define xfree emacs_xfree | 243 | #define xfree emacs_xfree |
| 249 | 244 | ||
diff --git a/src/sysdep.c b/src/sysdep.c index 61a91e01878..4e9631dbba1 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -135,18 +135,10 @@ extern int errno; | |||
| 135 | #include "systty.h" | 135 | #include "systty.h" |
| 136 | #include "syswait.h" | 136 | #include "syswait.h" |
| 137 | 137 | ||
| 138 | #ifdef BROKEN_TIOCGWINSZ | ||
| 139 | #undef TIOCGWINSZ | ||
| 140 | #undef TIOCSWINSZ | ||
| 141 | #endif | ||
| 142 | |||
| 143 | #if defined (USG) | 138 | #if defined (USG) |
| 144 | #include <sys/utsname.h> | 139 | #include <sys/utsname.h> |
| 145 | #include <memory.h> | 140 | #include <memory.h> |
| 146 | #if defined (TIOCGWINSZ) | 141 | #if defined (TIOCGWINSZ) |
| 147 | #ifdef NEED_SIOCTL | ||
| 148 | #include <sys/sioctl.h> | ||
| 149 | #endif | ||
| 150 | #ifdef NEED_PTEM_H | 142 | #ifdef NEED_PTEM_H |
| 151 | #include <sys/stream.h> | 143 | #include <sys/stream.h> |
| 152 | #include <sys/ptem.h> | 144 | #include <sys/ptem.h> |
diff --git a/src/systty.h b/src/systty.h index 4d9bd792a3c..799b9214e33 100644 --- a/src/systty.h +++ b/src/systty.h | |||
| @@ -118,10 +118,6 @@ static struct sensemode { | |||
| 118 | 118 | ||
| 119 | /* Special cases - inhibiting the use of certain features. */ | 119 | /* Special cases - inhibiting the use of certain features. */ |
| 120 | 120 | ||
| 121 | #ifdef BROKEN_TIOCGETC | ||
| 122 | #undef TIOCGETC /* Avoid confusing some conditionals that test this. */ | ||
| 123 | #endif | ||
| 124 | |||
| 125 | /* Allow m- file to inhibit use of FIONREAD. */ | 121 | /* Allow m- file to inhibit use of FIONREAD. */ |
| 126 | #ifdef BROKEN_FIONREAD | 122 | #ifdef BROKEN_FIONREAD |
| 127 | #undef FIONREAD | 123 | #undef FIONREAD |