perl-Event-Lib/perl-Event-Lib-1.03-arm-fix-missing-off64_t.patch

15 lines
361 B
Diff

diff -Nru Event-Lib-1.03.orig/Lib.xs Event-Lib-1.03/Lib.xs
--- Event-Lib-1.03.orig/Lib.xs 2012-02-20 17:19:43.612532195 +0100
+++ Event-Lib-1.03/Lib.xs 2012-02-20 17:16:44.852534514 +0100
@@ -5,6 +5,10 @@
#include <sys/time.h>
#endif
+# ifndef __USE_FILE_OFFSET64
+#define off64_t off_t
+# endif
+
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"