I'm running on Solaris 2.7, I had to change the headers to

#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>

That resolved most of the problems but it still wouldn't compile as
if_nameindex doesn't appear in any of the header files on the system.

Dave W.
--
Nothing is as embarrasing as watching someone do something that you said
couldn't be done.

Reply via email to