summaryrefslogblamecommitdiff
path: root/sys-fs/mac-fdisk/files/mac-fdisk-largerthan2gb.patch
blob: b33487ca9e97af1aa6161fccdd2f13182353582d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                             
--- a/fdisk.h
+++ b/fdisk.h
@@ -2,6 +2,11 @@
    fdisk.h
 */
 
+#ifdef __linux__
+#define _FILE_OFFSET_BITS 64
+#define _LARGE_FILES
+#endif
+
 #define SECTOR_SIZE	512
 #define NETBSD_PARTITION 0xa5
 #define cround(n)	(((n) + display_factor * unit_flag) / display_factor)