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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix lack of repeat-inclusion guard in win32 substitute
Date: 2006-07-16 01:35:28
Message-ID: 20060716013528.380799FA60C@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-07-16 02:44:01 pgsql: Fix a few places where $Id$ and $Header$ CVS tags had crept into
Previous Message Tom Lane 2006-07-16 01:05:23 pgsql: Put back another not-so-unnecessary #include, per report from