summaryrefslogtreecommitdiff
path: root/editors/hexedit/patches/patch-ae
blob: 22e90458ea218d0ac0b4c7b9ef65fd7008deb00f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- hexedit.h.orig	2003-08-08 13:51:08.000000000 +0100
+++ hexedit.h	2003-08-08 13:52:50.000000000 +0100
@@ -2,6 +2,7 @@
 #define HEXEDIT_H
 
 #include "config.h"
+#include <inttypes.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -26,6 +27,7 @@
 
 
 #define INT off_t
+#define INT_FMT PRIX64	/* Modern, Sane OSs have a 64-bit off_t */
 
 /*******************************************************************************/
 /* Macros */