Message ID | b092720c-61a0-2d3e-f505-01f2c8d9b39f@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/extras/temp_file.c b/extras/temp_file.c index 32b6560..a409d7a 100644 --- a/extras/temp_file.c +++ b/extras/temp_file.c @@ -16,6 +16,10 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ +/* This is required to get an mkstemp which can create large files on + some 32-bit platforms. */ +#define _FILE_OFFSET_BITS 64 + #include <extras/temp_file.h> #include <extras/temp_file-internal.h> #include <extras/extras.h>