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.7 by pcg, Mon Mar 1 01:06:46 2004 UTC vs.
Revision 1.10 by pcg, Fri Apr 2 20:41:01 2004 UTC

30#ifdef HAVE_GETPT 30#ifdef HAVE_GETPT
31# define _GNU_SOURCE 31# define _GNU_SOURCE
32#endif 32#endif
33#endif 33#endif
34 34
35#include <stdio.h> 35#include <cstdio>
36#ifdef HAVE_STDLIB_H 36#ifdef HAVE_STDLIB_H
37# include <stdlib.h> 37# include <cstdlib>
38#endif 38#endif
39#ifdef HAVE_SYS_TYPES_H 39#ifdef HAVE_SYS_TYPES_H
40# include <sys/types.h> 40# include <sys/types.h>
41#endif 41#endif
42#ifdef HAVE_UNISTD_H 42#ifdef HAVE_UNISTD_H
43# include <unistd.h> 43# include <unistd.h>
44#endif 44#endif
45#if defined(HAVE_STRING_H) 45#if defined(HAVE_STRING_H)
46# include <string.h> 46# include <cstring>
47#endif 47#endif
48#ifdef HAVE_FCNTL_H 48#ifdef HAVE_FCNTL_H
49# include <fcntl.h> 49# include <fcntl.h>
50#endif 50#endif
51#ifdef HAVE_SYS_IOCTL_H 51#ifdef HAVE_SYS_IOCTL_H
52# include <sys/ioctl.h> 52# include <sys/ioctl.h>
53#endif 53#endif
54#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) 54#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__)
55# 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>
56#endif 59#endif
57 60
58#ifdef DEBUG_TTY 61#ifdef DEBUG_TTY
59# define D_TTY(x) fprintf x ; fputc('\n', stderr) ; fflush(stderr) 62# define D_TTY(x) fprintf x ; fputc('\n', stderr) ; fflush(stderr)
60#else 63#else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines