summaryrefslogtreecommitdiffstats
path: root/lib/hivex-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hivex-internal.h')
-rw-r--r--lib/hivex-internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/hivex-internal.h b/lib/hivex-internal.h
index dc23ba5..43b1a76 100644
--- a/lib/hivex-internal.h
+++ b/lib/hivex-internal.h
@@ -59,6 +59,11 @@ struct hive_h {
/* For writing. */
size_t endblocks; /* Offset to next block allocation (0
if not allocated anything yet). */
+
+#ifndef HAVE_MMAP
+ /* Internal data for mmap replacement */
+ void *p_winmap;
+#endif
};
#define STREQ(a,b) (strcmp((a),(b)) == 0)