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

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix lack of repeat-inclusion guard in win32 substitute
Date
Msg-id 20060716013528.380799FA60C@postgresql.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Put back another not-so-unnecessary #include, per report from
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix a few places where $Id$ and $Header$ CVS tags had crept into