Closed PandaJim closed 3 years ago
I think it should be possible to remove the line:
from libOSC/sendOSC/htmsocket.c as it appears that the header is no longer required.
I think probably at some point there were functions that needed it, but these have since been removed / replaced. The similar file src/htmsocket.c does not include rpc.h, and the quick test I did just now to remove it from libOSC did not produce any warnings or errors. In addition, the resutling binary, sendOSC seems to run fine after compiling with the #include removed.
So it seems like a safe bet to just remove the line altogether.
If you can confirm that it resolves the issue then I will add it as a "release note".
I'm just building the package for Ubuntu, but not an editor. And build without "#include <rpc/rpc.h>" succeeded
In Ubuntu 20.10 libc6-dev has dropped /usr/include/rpc/rpc.h which causes build errors: