fuse-overlayfs: add missing definitions for _FILE_OFFSET_BITS

it caused an issue on armv7h where different versions of dirent struct
were used in main.c and in the other files.

Regression introduced with c2c2ac5b82fb59322da227d196214b4a58ede634

Closes: https://github.com/containers/fuse-overlayfs/issues/197

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2020-04-15 10:08:49 +02:00
parent 5f666c1e67
commit f787603a30
No known key found for this signature in database
GPG Key ID: E4730F97F60286ED
3 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,7 @@
*/
#define _GNU_SOURCE
#define _FILE_OFFSET_BITS 64
#include <config.h>

View File

@ -15,6 +15,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _GNU_SOURCE
#define _FILE_OFFSET_BITS 64
#include <config.h>
#include <plugin.h>

View File

@ -16,6 +16,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _GNU_SOURCE
#define _FILE_OFFSET_BITS 64
#include <config.h>
#include "utils.h"
#include <errno.h>