diff --git a/src/disks/gdubenchmarkdialog.c
b/src/disks/gdubenchmarkdialog.c
index 6f751da..e47d7b6 100644
--- a/src/disks/gdubenchmarkdialog.c
+++ b/src/disks/gdubenchmarkdialog.c
@@ -9,6 +9,7 @@
 
 #include "config.h"
 
+#define _FILE_OFFSET_BITS 64
 #include <glib/gi18n.h>
 #include <gio/gunixfdlist.h>
 #include <gio/gunixinputstream.h>

