X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=network.h;h=d58635b6246b0162f52acaf0f6f92524ee309fcd;hb=72c3c23ebd2149ea326ad4fe7b71ac7bdefaa514;hp=10be046feb10a577ac57e2717f37e1df77cc95a5;hpb=d8fdb494515c17b4a529f99a81d20214687bf6a3;p=PuTTY.git diff --git a/network.h b/network.h index 10be046f..d58635b6 100644 --- a/network.h +++ b/network.h @@ -229,7 +229,10 @@ Socket new_error_socket(const char *errmsg, Plug plug); void backend_socket_log(void *frontend, int type, SockAddr addr, int port, const char *error_msg, int error_code, Conf *conf, int session_started); +#ifndef BUFCHAIN_TYPEDEF typedef struct bufchain_tag bufchain; /* rest of declaration in misc.c */ +#define BUFCHAIN_TYPEDEF +#endif void log_proxy_stderr(Plug plug, bufchain *buf, const void *vdata, int len); #endif