Files
MSYS2-packages/libtirpc/0.3.2-cygwin-rpcent.patch
2018-10-31 09:44:14 +03:00

12 lines
486 B
Diff

--- origsrc/libtirpc-0.3.2/tirpc/rpc/rpcent.h 2015-06-16 10:35:08.000000000 -0500
+++ src/libtirpc-0.3.2/tirpc/rpc/rpcent.h 2015-10-13 16:51:15.548500000 -0500
@@ -49,7 +49,7 @@ extern "C" {
#endif
/* These are defined in /usr/include/rpc/netdb.h */
-#if !defined(__GLIBC__) || defined(__UCLIBC__)
+#if !defined(__GLIBC__) && !defined(__CYGWIN__) || defined(__UCLIBC__)
struct rpcent {
char *r_name; /* name of server for this rpc program */
char **r_aliases; /* alias list */