OpenSWE1R / openswe1r

An Open-Source port of the 1999 Game "Star Wars Episode 1: Racer"
https://openswe1r.github.io/
GNU General Public License v2.0
312 stars 26 forks source link

Refactor KVM includes #183

Closed JayFoxRox closed 4 years ago

JayFoxRox commented 4 years ago

Replaces <stropts.h> (POSIX) with <sys/ioctl.h> (Linux) include to declare ioctl. This works as KVM is only used on Linux currently (so POSIX compatibility is not required); I think some flavors of BSD also adopted KVM, but they are not supported by OpenSWE1R (yet).

I took this opportunity to remove duplicated includes.

Closes #182 Please confirm that this works for you @Calinou