(Sent this directly to Dave already, thought others might want it as
well)
Seems this patch is needed to compile on VS2003. Ref to
http://archives.postgresql.org/pgadmin-support/2005-09/msg00032.php,
which seems to be the same thing for a different part :-)
//Magnus