On Jun 06 12:10:42, martinw...@gmail.com wrote: > On 6/6/24 10:27, Jan Stary wrote: > > Does anyone know why SoX tries to include <io.h> > > The header file seems to be linux specific. > > What is it supposed to provide? > > > > https://github.com/janstary/sox/issues/64 > > Dunno. Can you tell from what code it inserts or doesn't according to > whether it's set or not?
I can tell HAVE_IO is not set because I don't set it. Which means <io.h> does not get included. But then again, <io.h> does not even exist on any system I know of, except Debian, which has sys/io.h (not sure if that's what's meant), which contains nothing of relevance. > Is it defined on Linux systems Is what defined on Linux systems? > and if you undefine it, does anything break? If I completely remove all mentions of io.h, nothing changes (at least on OpenBSD, FreeBSD, NetBSD, macOS, Debian or Solaris). That's why I think it can go. But I wanted to ask, in case someone knows what is it even supposed to do. Jan _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel