Fails to compile.  After include a few more .h's, it's clear that
   if_nameindex is neither a struct or a function under solaris (2.6, but
   I think you'll find if_nameindex to be a -- probably recent --
   Linux-ism).

oh darn. i was hoping that solaris would have something like that. are
you sure that nothing useful appears in <net/if.h>? hmm. aix's
if_nameindex needs libinet. does solaris have something similar? in
any case, i have that bit of code protected by an #ifdef SIOCGIFINDEX,
so things should be all right.

-a

Reply via email to