lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] [Bulk] Re: 'struct in_addr' and Windows headers


From: Gisle Vanem
Subject: Re: [lwip-devel] [Bulk] Re: 'struct in_addr' and Windows headers
Date: Mon, 7 Dec 2015 23:32:35 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Joel Cunningham wrote:

> If libcurl supports using LwIP instead of winsock (while building on 
> Windows), shouldn't it not be including the winsock
> headers, i.e. <inaddr.h>?  

The Windows SDK is moving target. And <inaddr.h> is an internal
header in that SDK. libcurl does *not* include it directly. But
it gets included via some other SDK header not directly related to
Winsock also.

This happens when compiling lwIP too (i.e. including <inaddr.h>)
due to the inclusion of libpcap/WinPcap headers. In pcapif.c for
example. But there it doesn't seems to be a problem.

-- 
--gv



reply via email to

[Prev in Thread] Current Thread [Next in Thread]