From c1ef29c62235b599f8bc6855c293d54c928f2a52 Mon Sep 17 00:00:00 2001
From: Slaven Rezic <slaven@rezic.de>
Date: Thu, 21 Aug 2014 20:15:38 +0200
Subject: [PATCH] my_strerror is defined since perl 5.21.x

This change fixes https://rt.cpan.org/Ticket/Display.html?id=98234
---
 perlio.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/perlio.c b/perlio.c
index d69e519..c4a6e87 100644
--- a/perlio.c
+++ b/perlio.c
@@ -18,6 +18,8 @@ static int
 perlio_closer(void *handle);
 static void
 perlio_destroy(void *handle);
+/* my_strerror is defined since perl 5.21.x */
+#undef my_strerror
 static const char *my_strerror(pTHX_ int err);
 
 #ifndef tTHX
-- 
1.8.3.4