diff --git a/tsk/auto/tsk_case_db.h b/tsk/auto/tsk_case_db.h
index 5dcd5e39f01415af98ccff3fda6a1717199b66fe..f9c333fe0c0ca8b3eb10b37e7ff5c69448778e95 100644
--- a/tsk/auto/tsk_case_db.h
+++ b/tsk/auto/tsk_case_db.h
@@ -68,7 +68,7 @@ class TskAutoDb:public TskAuto {
      * Sets whether or not the file systems for an image should be added when 
      * the image is added to the case database. The default value is true. 
      */
-    void TskAutoDb::setAddFileSystems(bool addFileSytems);
+    void setAddFileSystems(bool addFileSytems);
 
     /**
      * Skip processing of orphans on FAT filesystems.  
diff --git a/tsk/img/img_types.c b/tsk/img/img_types.c
index 9037c1eedbdc374fc0eca8878057ba18d0de96e2..9897299ddf1286cf6cb7619d8625ec2619d59c6e 100644
--- a/tsk/img/img_types.c
+++ b/tsk/img/img_types.c
@@ -20,7 +20,7 @@
   */
 typedef struct {
     char *name;
-    uint8_t code;
+    uint16_t code;
     char *comment;
 } IMG_TYPES;
 
@@ -39,6 +39,12 @@ static IMG_TYPES img_open_table[] = {
 #endif
 #if HAVE_LIBEWF
     {"ewf", TSK_IMG_TYPE_EWF_EWF, "Expert Witness Format (EnCase)"},
+#endif
+#if HAVE_LIBVMDK
+    {"vmdk", TSK_IMG_TYPE_VMDK_VMDK, "Virtual Machine Disk (VmWare, Virtual Box)"},
+#endif
+#if HAVE_LIBVHDI
+    {"vhd", TSK_IMG_TYPE_VHD_VHD, "Virtual Hard Drive (Microsoft)"},
 #endif
     {0},
 };