crosstool-ng/patches/glibc/2.23/100-Cygwin-doesnt-have-stat64.patch
Bryan Hundven cb60114599 glibc: port glibc patch from 2.22 to 2.23
Only one patch ported forward from 2.22:

 * 100-Cygwin-doesnt-have-stat64.patch

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-23 10:38:00 -08:00

14 lines
329 B
Diff

--- 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