src/snprintf.[ch]:
Added Mark Martinec's replacement (v)snprintf from
http://www.ijs.si/software/snprintf/ for systems without (v)snprintf
(or with a broken one)
src/compat.c:
Renamed inet_aton to libopm_inet_aton to avoid clashes.
src/compat.h:
On systems without inet_aton, use libopm_inet_aton.
On systems without (or with broken) (v)snprintf, use
libopm_snprintf (from snprintf.c).
On systems without inet_pton, use libopm_inetpton (from inet.c).
src/inet.c:
For now made inetntoa() static, as it is used nowhere else but
this file.
Commented out inetntop() -- it doesn't seem to be used anywhere?
Removed bopm_gethostbyname() -- it wasn't used anywhere.
src/proxy.c:
No longer needs to include stdio.h.
src/test.c:
Needs to include compat.h and be linked with compat.o.