Miscellaneous fixes to try to make other compilers happier
[u/mdw/putty] / be_all.c
CommitLineData
89ee5268 1/*
2 * Linking module for PuTTY proper: list the available backends
3 * including ssh.
4 */
5
6#include <windows.h>
5b80d07f 7#ifndef AUTO_WINSOCK
8#ifdef WINSOCK_TWO
9#include <winsock2.h>
10#else
11#include <winsock.h>
12#endif
13#endif
89ee5268 14#include <stdio.h>
15#include "putty.h"
16
17struct backend_list backends[] = {
18 {PROT_SSH, "ssh", &ssh_backend},
19 {PROT_TELNET, "telnet", &telnet_backend},
20 {PROT_RAW, "raw", &raw_backend},
21 {0, NULL}
22};