--- a/tools/build/fixdep.c
+++ b/tools/build/fixdep.c
@@ -11,6 +11,8 @@
  * base transformation of dependecies without the CONFIG mangle.
  */
 
+#define _FILE_OFFSET_BITS 64
+
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/mman.h>
