MSYS2-packages/libtirpc/1.3.4-no-errqueue.patch
Christoph Reiter 2a8cc33241 libtirpc: Update to 1.3.4
Sync patches from cygwin
2024-06-11 08:53:50 +02:00

15 lines
384 B
Diff

--- origsrc/libtirpc-1.3.4/src/clnt_dg.c 2023-10-07 09:54:42.000000000 +0200
+++ src/clnt_dg.c 2024-01-27 23:16:30.348368400 +0100
@@ -55,6 +55,11 @@
#include "rpc_com.h"
#include "clnt_fd_locks.h"
+/* on Cygwin we have IP_RECVERR but not linux/errqueue.h */
+#ifdef __CYGWIN__
+ #undef IP_RECVERR
+#endif
+
#ifdef IP_RECVERR
#include <asm/types.h>
#include <linux/errqueue.h>