http://bugs.winehq.org/show_bug.cgi?id=27653
--- Comment #13 from Hedgehog nbspjr@gmail.com 2011-11-07 12:16:18 CST --- (In reply to comment #12)
Created attachment 37354 [details] if_nameindex test
Please attach the output from this, or compile errors if it doesn't compile for you.
I've got warning upon compilation: $ gcc if_nameindex.c if_nameindex.c: In function 'isLoopbackInterface': if_nameindex.c:16: warning: incompatible implicit declaration of built-in function 'strcpy'
$ ./a.out vr0 is not a loopback interface nfe0 is not a loopback interface plip0 is not a loopback interface lo0 is not a loopback interface
is that's the problem? seems that it unable to find loopback interface
when i included string.h the warning gone, but output remains the same as above #include <string.h>