I would not be surprised if it is BSDI alone that had omitted IF_NAMESIZE -- in the time of early 3.x they were branching off from *bsd in small ways, and many gnu distributions with -Wall had little problems like multiple defines of syserrlist[]. But ( sigh :) when you're just trying to prevent being flooded with email from cautious people who only know how to 'make', one can only patch and move on... Thank you for your time and keep up the excellent work. -Steven On Mon, 18 Jun 2001 [EMAIL PROTECTED] wrote: > > >That appears to be the case. Itojun? > >> bsdi-3.1 with gcc 2.7.2.1 fails with > >> ./inet.c: In function `pcap_lookupdev': > >> ./inet.c:98: `IF_NAMESIZE' undeclared (first use this function) > >> ./inet.c:98: (Each undeclared identifier is reported only once > >> ./inet.c:98: for each function it appears in.) > >> ./inet.c:98: size of array `device' has non-integer type > >> *** Error code 1 > >> All the beast, > >> I offer another sizeof() instead, > > I guess it okay to use sizeof(). please go ahead. > IF_NAMESIZE (or IFNAMSIZ) should be in /usr/include/net/if.h, which > ifaddrs.h basically requires. > > itojun > - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe
