[w3m-dev 04381] Re: check socklen_t

SAKAI Kiyotaka <[email protected]> Wed, 11 Aug 2010 13:04:04 +0900 (JST)
Newsgroups gmane.comp.web.w3m.devel
Message-ID <[email protected]>
>> In article <[email protected]>, Katsumi Yamaoka <[email protected]> writes:

> Fedora 13 では次のようなエラーで止まってしまいました。

> checking for socklen_t... yes
> [...]
> ftp.c:29: error: conflicting types for ‘socklen_t’
> /usr/include/unistd.h:275: note: previous declaration of ‘socklen_t’ was here
> make: *** [ftp.o] Error 1

この周辺のソースは

  #ifdef HAVE_SOCKLEN_T
  typedef int socklen_t;
  #endif

となっていますが、

  #ifndef HAVE_SOCKLEN_T
  typedef int socklen_t;
  #endif

の間違いですね。(論理が逆になっている…)

単純なミスかと。

-- 
酒井 清隆 (E-mail: [email protected])