X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Funix.h;h=62e20112a72cea5876bd14e88e00e40d4b992cec;hb=2eb952ca31aa13d1f6f429305fbb6f43a9a28c56;hp=b71d9210a9b39159efa72ba8fa27c39b66c845b8;hpb=a50da0e30952c4edfacebb1ba01b5b91b0fee63c;p=PuTTY.git diff --git a/unix/unix.h b/unix/unix.h index b71d9210..62e20112 100644 --- a/unix/unix.h +++ b/unix/unix.h @@ -45,6 +45,8 @@ typedef void *Context; /* FIXME: probably needs changing */ extern Backend pty_backend; +#define BROKEN_PIPE_ERROR_CODE EPIPE /* used in sshshare.c */ + typedef uint32_t uint32; /* C99: uint32_t defined in stdint.h */ #define PUTTY_UINT32_DEFINED @@ -114,7 +116,7 @@ void logevent_dlg(void *estuff, const char *string); int reallyclose(void *frontend); #ifdef MAY_REFER_TO_GTK_IN_HEADERS int messagebox(GtkWidget *parentwin, const char *title, - const char *msg, int minwid, ...); + const char *msg, int minwid, int selectable, ...); #endif /* Things pterm.c needs from {ptermm,uxputty}.c */