[beports] Re: curl.diff

  • From: Grzegorz Dąbrowski <grzegorz.dabrowski@xxxxxxxxx>
  • To: beports@xxxxxxxxxxxxx
  • Date: Sat, 24 May 2008 07:22:42 +0000

On Fri, 23 May 2008 15:41:21 -0700
"scott mc" <scottmc2@xxxxxxxxx> wrote:

> Andreas,
> On the Curl.diff you have,
> 
> #ifdef __BEOS__
> #ifdef __HAIKU__
> /* Haiku has FD_SET defined in sys/socket.h and no socket.h */
> #include <sys/socket.h>
> #else
> /* BeOS has FD_SET defined in socket.h */
> #include <socket.h>
> #endif
> #endif
> 
> Shouldn't this be rewritten like this, for the day when __BEOS__ is
> removed from Haiku?  Also what should happen for Bone/Zeta on this?

In my opinion the patch should be dropped because <sys/socket.h> is
included in curl already for Haiku.

-- 
Grzegorz Dąbrowski

--
BePorts homepage - http://tools.assembla.com/BePorts
List archives: //www.freelists.org/archives/beports
Administrative contact: brecht@xxxxxxxxxxx

Other related posts: