What I really wanted to do was to include Ws2tcpip, so I followed the instructions in the answers from this thread, copied MinGW's include files to \tcc\include\winapi\ and created a library from wsock2.dll. But the problem I get now is when I include Windows.h.
....\tcc\include\winapi\winnt.h|3819|error: declaration list expected|
which is
typedef __AW(OSVERSIONINFO) OSVERSIONINFO,*POSVERSIONINFO,*LPOSVERSIONINFO;
So how do I get the winapi to work with tcc?
Thanks