--- rxvt-unicode/src/ptytty.h 2006/01/17 12:22:59 1.10 +++ rxvt-unicode/src/ptytty.h 2006/01/18 14:47:45 1.14 @@ -9,7 +9,7 @@ # define NO_SETOWNER_TTYDEV 1 # endif #endif -#if defined(__CYGWIN32__) +#if defined(__CYGWIN__) # define NO_SETOWNER_TTYDEV 1 #endif @@ -51,7 +51,8 @@ #endif -struct rxvt_ptytty_unix : rxvt_ptytty { +struct rxvt_ptytty_unix : rxvt_ptytty +{ char *name; #ifndef RESET_TTY_TO_COMMON_DEFAULTS @@ -66,6 +67,9 @@ rxvt_ptytty_unix (); ~rxvt_ptytty_unix (); + bool get (); + void put (); + #if UTMP_SUPPORT int utmp_pos; int cmd_pid; @@ -81,9 +85,6 @@ char ut_id[5]; #endif - bool get (); - void put (); - void login (int cmd_pid, bool login_shell, const char *hostname); void logout (); #endif