Re: [PATCH] winsock include fixes

Christopher Faylor
2010-03-28T19:01:44Z

On Sun, Mar 28, 2010 at 09:48:04PM +0300, Ozkan Sezer wrote:
>On Sun, Mar 28, 2010 at 9:43 PM, Christopher Faylor wrote:
>> On Fri, Mar 26, 2010 at 11:33:02AM -0400, Daniel Jacobowitz wrote:
>>>On Fri, Mar 26, 2010 at 05:24:23PM +0200, Ozkan Sezer wrote:
>>>> Indeed, adding winsock2.h include to serial.h does fix the
>>>> problems for mingw-w64, like the following:
>>>
>>>This change is OK.
>>
>> Isn't this really a problem with mingw-w64 rather than a gdb
>> problem? ?It seems like this should be fixed there.
>
>I posted the fix to gdb, because I believe that it is a gdb problem.
>Can you explain how is it really supposed to be a mingw-w64 problem?

Actually, nevermind. I've just googled this and it seems like including
winsock2.h first is the accepted solution even for regular Visual C.

cgf