cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl on Solaris 10 X86

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 6 Oct 2004 10:05:36 +0200 (CEST)

On Tue, 5 Oct 2004, Mohun Biswas wrote:

> gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -g -O2 -MT if2ip.lo -MD
> -MP -MF .deps/if2ip.Tpo -c if2ip.c -fPIC -DPIC -o .libs/if2ip.o
> if2ip.c: In function `Curl_if2ip':
> if2ip.c:96: error: storage size of 'req' isn't known
> if2ip.c:106: error: invalid application of `sizeof' to incomplete type
> `ifreq'

On my Solaris 2.7 box, this stuff is in the sys/sockio.h header. It puzzles me
that they've changed this...

Try grepping for it:

$ grep -l 'struct ifreq' /usr/include/*/*.h

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-10-06