Compile on Freebsd (#1044)

* Compile on Freebsd

Small changes needed for compilation on Freebsd. Note that you'll have
to pass -DEQEMU_BUILD_ZLIB=OFF on the cmake command line. The bundled
zlib-ng does not build on Freebsd even though mainline zlib-ng does.

* Fix build errors: typo
This commit is contained in:
Jose123456
2020-05-09 12:40:33 -07:00
committed by GitHub
parent 7f3e4e3438
commit 914ea27406
5 changed files with 33 additions and 2 deletions
+4
View File
@@ -24,6 +24,10 @@
#include <vector>
#include <map>
#ifdef __FreeBSD__
#include <unistd.h>
#endif
//I forced this object to become a singleton because it registers its
//signal handler for UNIX
class ProcLauncher {