summaryrefslogtreecommitdiff
path: root/patches/glibc
diff options
context:
space:
mode:
authorRay Donnelly <mingw.android@gmail.com>2015-10-21 22:48:16 (GMT)
committerRay Donnelly <mingw.android@gmail.com>2015-11-13 02:17:45 (GMT)
commitf9968501eeacbe6c289c93d87243473d78eb8d5c (patch)
treef0f6e92922c41b0fddc5c12695b2f26b963ca3e1 /patches/glibc
parent9ef1750f3cf7be50d0cb08d9e27e66b12107e836 (diff)
glibc: Cygwin doesn't have stat64
Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Diffstat (limited to 'patches/glibc')
-rw-r--r--patches/glibc/2.22/110-Cygwin-doesnt-have-stat64.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/glibc/2.22/110-Cygwin-doesnt-have-stat64.patch b/patches/glibc/2.22/110-Cygwin-doesnt-have-stat64.patch
new file mode 100644
index 0000000..9097628
--- /dev/null
+++ b/patches/glibc/2.22/110-Cygwin-doesnt-have-stat64.patch
@@ -0,0 +1,13 @@
+--- glibc-2.22/sunrpc/rpc_main.c.orig 2015-08-05 07:42:21.000000000 +0100
++++ glibc-2.22/sunrpc/rpc_main.c 2015-10-21 23:37:31.071268800 +0100
+@@ -51,6 +51,10 @@
+ #include "rpc_scan.h"
+ #include "proto.h"
+
++#if defined(__CYGWIN__)
++#define stat64 stat
++#endif
++
+ #include "../version.h"
+ #define PACKAGE _libc_intl_domainname
+