ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/ptytty.C
(Generate patch)

Comparing rxvt-unicode/src/ptytty.C (file contents):
Revision 1.6 by pcg, Fri Feb 13 12:16:21 2004 UTC vs.
Revision 1.10 by pcg, Fri Apr 2 20:41:01 2004 UTC

24 24
25/* 25/*
26 * Try to be self-contained except for the above autoconfig'd defines 26 * Try to be self-contained except for the above autoconfig'd defines
27 */ 27 */
28 28
29#if 0
30#ifdef HAVE_GETPT
31# define _GNU_SOURCE
32#endif
33#endif
34
29#include <stdio.h> 35#include <cstdio>
30#ifdef HAVE_STDLIB_H 36#ifdef HAVE_STDLIB_H
31# include <stdlib.h> 37# include <cstdlib>
32#endif 38#endif
33#ifdef HAVE_SYS_TYPES_H 39#ifdef HAVE_SYS_TYPES_H
34# include <sys/types.h> 40# include <sys/types.h>
35#endif 41#endif
36#ifdef HAVE_UNISTD_H 42#ifdef HAVE_UNISTD_H
37# include <unistd.h> 43# include <unistd.h>
38#endif 44#endif
39#if defined(HAVE_STRING_H) 45#if defined(HAVE_STRING_H)
40# include <string.h> 46# include <cstring>
41#endif 47#endif
42#ifdef HAVE_FCNTL_H 48#ifdef HAVE_FCNTL_H
43# include <fcntl.h> 49# include <fcntl.h>
44#endif 50#endif
45#ifdef HAVE_SYS_IOCTL_H 51#ifdef HAVE_SYS_IOCTL_H
46# include <sys/ioctl.h> 52# include <sys/ioctl.h>
47#endif 53#endif
48#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) 54#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__)
49# include <sys/stropts.h> /* for I_PUSH */ 55# include <sys/stropts.h> /* for I_PUSH */
56#endif
57#ifdef HAVE_ISASTREAM
58# include <stropts.h>
50#endif 59#endif
51 60
52#ifdef DEBUG_TTY 61#ifdef DEBUG_TTY
53# define D_TTY(x) fprintf x ; fputc('\n', stderr) ; fflush(stderr) 62# define D_TTY(x) fprintf x ; fputc('\n', stderr) ; fflush(stderr)
54#else 63#else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines