[haiku-commits] Re: haiku: hrev45100 - headers/posix/sys src/bin/network/ftp

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 31 Dec 2012 15:45:14 +0100

On 31/12/2012 13:06, Jérôme Duval wrote:
> 2012/12/29 Urias McCullough <umccullough@xxxxxxxxx>:
>> On Fri, Dec 28, 2012 at 1:33 PM,  <korli@xxxxxxxxxxxxxxxx> wrote:
>>> diff --git a/src/bin/network/ftp/extern.h b/src/bin/network/ftp/extern.h
>>> index 3070e95..9be2b20 100644
>>> --- a/src/bin/network/ftp/extern.h
>>> +++ b/src/bin/network/ftp/extern.h
>>> @@ -100,7 +100,9 @@ struct sockaddr;
>>>  struct tm;
>>>  struct addrinfo;
>>>
>>> +#ifndef __HAIKU__
>>>  typedef int sa_family_t;
>>> +#endif
>>>
>>>  void   abort_remote(FILE *);
>>>  void   abort_squared(int);
>>
>> Should probably just remove that entirely - it seems this was added
>> for Haiku to begin with, as the netbsd sources don't seem to have this
>> hack:
>>
>> http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.bin/ftp/extern.h?rev=1.80&content-type=text/x-cvsweb-markup&only_with_tag=MAIN
> 
> Agreed. Can't do it ATM though.

Done.

François.

Other related posts: