freebsd-ports/emulators/mednafen/files/patch-src__pcfx__pcfx.cpp
Rene Ladan de27093f4a From PR submitter:
- Update to 0.8.D.3 (latest stable)
- Fix build on amd64 regarding zlib
- Add options to select devices to emulate

From myself:
- Convert to option helpers
- Stage support
- Fix build on FreeBSD 10

PR:		ports/179421
Submitted by:	"Green Dog"
Approved by:	maintainer timeout (acm, 8 months 3 weeks)
2014-02-28 21:11:09 +00:00

10 lines
268 B
C++

--- src/pcfx/pcfx.cpp.orig 2009-12-24 11:03:43.000000000 +0100
+++ src/pcfx/pcfx.cpp 2014-02-28 21:38:56.000000000 +0100
@@ -35,6 +35,7 @@
#include <errno.h>
#include <string.h>
#include <math.h>
+#include <unistd.h>
#ifdef WANT_PCFX_MMAP
#include <sys/mman.h>