--- ./tests/gpgscm/ffi.c.orig	2017-08-28 12:22:54 +0200
+++ ./tests/gpgscm/ffi.c	2018-10-25 11:46:44 +0200
@@ -19,6 +19,10 @@
  */
 
 #include <config.h>
+/*
+#undef _LARGE_FILES
+ */
+#define do_open do_open64
 
 #include <assert.h>
 #include <ctype.h>
