On Fri, Jul 25, 2008 at 3:16 AM, jpff wrote: > ....Really this belongs on the csound-dev list but as it started > here.... > > In remote.c the code reads > #ifdef LINUX > #include > #include > #endif > #include > > and this works on SuSE, Debian and Fedora (at least). However on > gentoo the file is frankly incomprensible > > #ifndef _LINUX_IF_H > # include > # define _LINUX_IF_H > #endif > > #ifndef _LINUX_IF_H > #define _LINUX_IF_H my if.h does not have: #ifndef _LINUX_IF_H # include # define _LINUX_IF_H #endif but it does have: #ifndef _NET_IF_H #define _NET_IF_H 1 but that's the only place it shows up on if.h. It's not used in the rest of the file. > ..... > > So as _LINUX_IF_H is not set it reads , and then sets the > variable so it ignores the rest of the file. > I really suspect that the first #ifndef should use _NET_IF_H but it > does not. I cannot see how one can use thee headers. Why would it ignore the rest of the file? It only defines '_LINUX_IF_H', and nothing more. there is no else after the definition. It looks like '#ifdef __USE_MISC' is the culprit as struct ifreq is included in this #define. I don't know what __USE_MISC is. brad