However, it's possible to work around it by removing the problematic include and replacing it with #include <sys/ioctl.h>. This seems to work well, and I was able to play one track successfully with playable performance (even if it's still slow, about 20 FPS or so).
I don't know if this can be done on other distributions/OSes successfully though.
Building openswe1r with KVM support (
-DUSE_KVM=1
) on Fedora fails due tostropts.h
not being available:https://github.com/OpenSWE1R/openswe1r/blob/f64ca6cff4b4cb2201198d649b16c1a982281d68/uc_kvm.c#L21
However, it's possible to work around it by removing the problematic include and replacing it with
#include <sys/ioctl.h>
. This seems to work well, and I was able to play one track successfully with playable performance (even if it's still slow, about 20 FPS or so).I don't know if this can be done on other distributions/OSes successfully though.