]> granicus.if.org Git - postgresql/commit
Fix lack of repeat-inclusion guard in win32 substitute sys/socket.h.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Jul 2006 01:35:28 +0000 (01:35 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Jul 2006 01:35:28 +0000 (01:35 +0000)
commit808849e54f20eb404adba4c87bf61159033f6005
treeec77589bb4d9b27561637a594aededfd395cb2d2
parent3ff58b48c9f28bb3bd64e285f8e817c5a5b5d1d4
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.
src/include/port/win32/sys/socket.h