pgsql: Fix lack of repeat-inclusion guard in win32 substitute

Started by Tom Laneabout 20 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Log Message:
-----------
Fix lack of repeat-inclusion guard in win32 substitute sys/socket.h.
I think this explains the 'implicit declaration of function gai_strerror'
warnings visible in the current buildfarm report from snake: if
sys/socket.h is included again after getaddrinfo.h, the file would
merrily undefine the gai_strerror macro.

Modified Files:
--------------
pgsql/src/include/port/win32/sys:
socket.h (r1.5 -> r1.6)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/port/win32/sys/socket.h.diff?r1=1.5&r2=1.6)