repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: f5bdb552814149c5e2147ecfe529ad25f8899a9b:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit f5bdb552814149c5e2147ecfe529ad25f8899a9b
Author: Emanuele Giaquinta 
Date:   Thu Jan 19 16:40:13 2006 +0000

    *** empty log message ***

diff --git a/src/ptytty.h b/src/ptytty.h
index 3d0e3bb8972747ede67b36bf65434c1710bd305e..
index ..b124e23aeb3c01c282c240f6de7faf538fbfd6ae 100644
--- a/src/ptytty.h
+++ b/src/ptytty.h
@@ -9,12 +9,12 @@
 #  define NO_SETOWNER_TTYDEV 1
 # endif
 #endif
-#if defined(__CYGWIN__)
+#if defined(__CYGWIN__) || defined(PTYS_ARE_OPENPTY)
 # define NO_SETOWNER_TTYDEV 1
 #endif

 #if UTMP_SUPPORT
-# if !defined(RXVT_UTMPX_FILE) || !defined(HAVE_STRUCT_UTMPX)
+# if !defined(RXVT_UTMPX_FILE) || !defined(HAVE_STRUCT_UTMPX) || defined(__GLIBC__)
 #  undef HAVE_UTMPX_H
 #  undef HAVE_STRUCT_UTMPX
 # endif
@@ -55,13 +55,6 @@ struct rxvt_ptytty_unix : rxvt_ptytty
 {
   char *name;

-#ifndef RESET_TTY_TO_COMMON_DEFAULTS
-  struct stat savestat; /* original status of our tty */
-#endif
-#ifndef NO_SETOWNER_TTYDEV
-  void privileges (rxvt_privaction action);
-  bool saved;
-#endif
 public:

   rxvt_ptytty_unix ();

-----END OF PAGE-----