summaryrefslogtreecommitdiffstats
path: root/src/ewf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-03-19 13:58:05 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2011-03-19 13:58:05 +0100
commitb7397dc2aa1a93c4baaa624929211a917181db9f (patch)
tree50b798ec782d7fa77bcfba728655d774353a0ae1 /src/ewf.c
parentfb86625be2f4f11bf856b3ac78432e5f0710be87 (diff)
Recent version of libewf have removed LIBEWF_HANDLE type, use libewf_handle_t is available
Diffstat (limited to 'src/ewf.c')
-rw-r--r--src/ewf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ewf.c b/src/ewf.c
index 28fc33b..d0bb0d6 100644
--- a/src/ewf.c
+++ b/src/ewf.c
@@ -65,7 +65,11 @@ static int fewf_sync(disk_t *disk);
struct info_fewf_struct
{
+#ifdef HAVE_LIBEWF_HANDLE_T
+ libewf_handle_t *handle;
+#else
LIBEWF_HANDLE *handle;
+#endif
uint64_t offset;
char file_name[DISKNAME_MAX];
int mode;