diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-05-19 08:18:03 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-05-19 08:18:03 +0000 |
commit | 43bbb124d254b6abe06afabac908973a80f95f45 (patch) | |
tree | dc647c5cb49901ecbf4faa5ebfc83c559c393e7b /emulators/fceux/files/patch-src-drivers-pc-unix-netplay.c | |
parent | - Chase orbitcpp shlib version (diff) |
- Update to version 0.98.10
PR: ports/66847
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=109485
Diffstat (limited to 'emulators/fceux/files/patch-src-drivers-pc-unix-netplay.c')
-rw-r--r-- | emulators/fceux/files/patch-src-drivers-pc-unix-netplay.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/fceux/files/patch-src-drivers-pc-unix-netplay.c b/emulators/fceux/files/patch-src-drivers-pc-unix-netplay.c new file mode 100644 index 000000000000..dbf70d19e1a1 --- /dev/null +++ b/emulators/fceux/files/patch-src-drivers-pc-unix-netplay.c @@ -0,0 +1,20 @@ +--- src/drivers/pc/unix-netplay.c.orig Sun May 16 22:28:06 2004 ++++ src/drivers/pc/unix-netplay.c Tue May 18 12:57:05 2004 +@@ -24,7 +24,7 @@ + #include <sys/socket.h> + #include <sys/ioctl.h> + #include <sys/time.h> +-#include <malloc.h> ++#include <stdlib.h> + #include <netinet/in.h> + #include <netinet/tcp.h> + #include <arpa/inet.h> +@@ -42,6 +42,8 @@ + #ifndef socklen_t + #define socklen_t int + #endif ++ ++#define SOL_TCP IPPROTO_TCP + + char *netplayhost=0; + char *netplaynick=0; |