summaryrefslogtreecommitdiff
path: root/devel/psptoolchain-newlib/files/patch-newlib-libc-sys-psp-netinet-tcp.h
blob: 8d9a59f7518a4348c0057399bca7d23e0893223e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- ./newlib/libc/sys/psp/netinet/tcp.h.orig	2012-01-25 19:33:12.000000000 +0000
+++ ./newlib/libc/sys/psp/netinet/tcp.h	2012-01-25 19:33:12.000000000 +0000
@@ -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