aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches-0.9.29/130-sockets_throw.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/uClibc/patches-0.9.29/130-sockets_throw.patch')
-rw-r--r--toolchain/uClibc/patches-0.9.29/130-sockets_throw.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.29/130-sockets_throw.patch b/toolchain/uClibc/patches-0.9.29/130-sockets_throw.patch
new file mode 100644
index 0000000000..7735b60135
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.29/130-sockets_throw.patch
@@ -0,0 +1,11 @@
+--- a/libc/sysdeps/linux/mips/bits/socket.h
++++ b/libc/sysdeps/linux/mips/bits/socket.h
+@@ -269,7 +269,7 @@ struct cmsghdr
+ #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
+
+ extern struct cmsghdr * __NTH (__cmsg_nxthdr (struct msghdr *__mhdr,
+- struct cmsghdr *__cmsg)) __THROW;
++ struct cmsghdr *__cmsg));
+ #ifdef __USE_EXTERN_INLINES
+ # ifndef _EXTERN_INLINE
+ # define _EXTERN_INLINE extern __inline