pkgsrc/editors/hexedit/patches/patch-ae

22 lines
443 B
Text

$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