aboutsummaryrefslogtreecommitdiff
path: root/emulators/zsnes/files/patch-src::linux::ztcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/zsnes/files/patch-src::linux::ztcp.c')
-rw-r--r--emulators/zsnes/files/patch-src::linux::ztcp.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/emulators/zsnes/files/patch-src::linux::ztcp.c b/emulators/zsnes/files/patch-src::linux::ztcp.c
new file mode 100644
index 000000000000..df10aac41cf4
--- /dev/null
+++ b/emulators/zsnes/files/patch-src::linux::ztcp.c
@@ -0,0 +1,14 @@
+--- src/linux/ztcp.c.orig Tue May 1 21:33:14 2001
++++ src/linux/ztcp.c Thu May 3 20:17:23 2001
+@@ -92,7 +92,11 @@
+ #include <netdb.h>
+ #include <unistd.h>
+ #include <sys/ioctl.h>
++#ifndef __FreeBSD__
+ #include <asm/ioctls.h> // for FIONREAD
++#else
++#include <sys/filio.h> // for FIONREAD
++#endif
+ #else
+ #include <windows.h>
+ #include <winsock.h>