This allows for operating on large files when compiled in 32-bit mode.
Fixes #649.
-// Copyright (C) 2010-2016 Joel Rosdahl
+// Copyright (C) 2010-2020 Joel Rosdahl
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
#include "config.h"
+#ifndef _FILE_OFFSET_BITS
+#define _FILE_OFFSET_BITS 64
+#endif
+
#include <sys/file.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>