summaryrefslogtreecommitdiff
path: root/editors/hexedit/patches/patch-ae
blob: 6d272313d0aea622be5a8e18637e631dc0ff0864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ae,v 1.4 2005/11/07 20:16:56 tv Exp $

--- hexedit.h.orig	2004-05-07 11:26:43.000000000 -0400
+++ hexedit.h
@@ -2,6 +2,9 @@
 #define HEXEDIT_H
 
 #include "config.h"
+#if HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -24,6 +27,7 @@
 #include <libgen.h>
 #endif
 #if HAVE_SYS_MOUNT_H
+#include <sys/param.h>
 #include <sys/mount.h> /* for BLKGETSIZE */
 #endif