diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2009-08-21 00:54:33 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2009-08-21 00:54:33 +0000 |
commit | 8cbd3957fb9309b77590faad70c31ada2caee71f (patch) | |
tree | 6e6dc53459a6b9a79b032994edb9301bd33d61c2 /devel/psptoolchain-newlib/files/patch-newlib-libc-sys-psp-netinet-tcp.h | |
parent | Update to the 20090818 snapshot of GCC 4.4.2. (diff) |
The PlayStation Portable Toolchain is a collection of tools and utilities
for homebrew PSP development.
WWW: http://www.ps2dev.org
PR: ports/132323, ports/132324, ports/132325, ports/132326
ports/132327, ports/132328, ports/132329, ports/132330
Submitted by: Tassilo Philipp <tphilipp@potion-studios.com>
Notes
Notes:
svn path=/head/; revision=240002
Diffstat (limited to 'devel/psptoolchain-newlib/files/patch-newlib-libc-sys-psp-netinet-tcp.h')
-rw-r--r-- | devel/psptoolchain-newlib/files/patch-newlib-libc-sys-psp-netinet-tcp.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/psptoolchain-newlib/files/patch-newlib-libc-sys-psp-netinet-tcp.h b/devel/psptoolchain-newlib/files/patch-newlib-libc-sys-psp-netinet-tcp.h new file mode 100644 index 000000000000..f0b3a623aeea --- /dev/null +++ b/devel/psptoolchain-newlib/files/patch-newlib-libc-sys-psp-netinet-tcp.h @@ -0,0 +1,15 @@ +--- newlib/libc/sys/psp/netinet/tcp.h.orig 1970-01-01 02:00:00.000000000 +0200 ++++ newlib/libc/sys/psp/netinet/tcp.h 2007-06-01 12:22:26.000000000 +0300 +@@ -0,0 +1,12 @@ ++#ifndef __NETINET_TCP_H__ ++#define __NETINET_TCP_H__ ++ ++#include <netinet/in.h> ++ ++#define SOL_TCP IPPROTO_TCP ++ ++/* Socket options */ ++#define TCP_NODELAY 0x01 /* don't delay send to coalesce packets */ ++#define TCP_MAXSEG 0x02 /* set maximum segment size */ ++ ++#endif |