
30 Jun
2009
30 Jun
'09
5:16 p.m.
boost config seems to be indirectly including sys/select.h on Linux. This causing me a problem in my sockets library where I have my own declarations of select, fd_set etc which cause duplicate symbols errors. No only can I not use config but also any boost lib as they all use config :-(.
Can someone please suggest a fix for this?
Out of curiosity, why does config use select.h?
It doesn't: at least not deliberately, my guess it's included by something else like <unistd.h> which we really do need. John.