MSYS2-packages/libtirpc/1.3.6-cygwin-rpcent.patch
Christoph Reiter c53aee4bf4
libtirpc: Update to 1.3.6 (#5402)
sync patches with cygwin
2025-05-20 08:09:32 +02:00

12 lines
612 B
Diff

--- origsrc/libtirpc-1.3.6/tirpc/rpc/rpcent.h 2024-10-17 09:50:55.000000000 +0200
+++ tirpc/rpc/rpcent.h 2025-01-04 07:58:48.923970800 +0100
@@ -50,7 +50,7 @@ extern "C" {
/* These are defined in /usr/include/rpc/netdb.h, unless we are using
the C library without RPC support. */
-#if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_RPC__) || !defined(__GLIBC__) && !defined(HAVE_STRUCT_RPCENT)
+#if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_RPC__) || !defined(__GLIBC__) && !defined(HAVE_STRUCT_RPCENT) && !defined(__CYGWIN__)
struct rpcent {
char *r_name; /* name of server for this rpc program */