summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-08-31 09:53:44 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-09-19 13:39:51 +0100
commit703acd56c96ecea4d12b80ff340bb6d559a34685 (patch)
tree60c3b910751be7e4d6e0ac73297f0eccfa7d605f /src
parent8f691d3c82963054f7e1776be71d7f59837813dd (diff)
downloadlibguestfs-703acd56c96ecea4d12b80ff340bb6d559a34685.tar.gz
libguestfs-703acd56c96ecea4d12b80ff340bb6d559a34685.tar.xz
libguestfs-703acd56c96ecea4d12b80ff340bb6d559a34685.zip
src/dbdump.c: Shouldn't depend on HAVE_HIVEX (thanks Tao Zhou).
(cherry picked from commit 4e6bf1ed653540a8954a6a11fe5a0fb424013af9)
Diffstat (limited to 'src')
-rw-r--r--src/dbdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbdump.c b/src/dbdump.c
index ac20b670..ce84a896 100644
--- a/src/dbdump.c
+++ b/src/dbdump.c
@@ -44,7 +44,7 @@
#include "guestfs.h"
#include "guestfs-internal.h"
-#if defined(HAVE_HIVEX) && defined(DB_DUMP)
+#if defined(DB_DUMP)
static unsigned char *convert_hex_to_binary (guestfs_h *g, const char *hex, size_t hexlen, size_t *binlen_rtn);
@@ -219,4 +219,4 @@ convert_hex_to_binary (guestfs_h *g, const char *hex, size_t hexlen,
return bin;
}
-#endif /* defined(HAVE_HIVEX) && defined(DB_DUMP) */
+#endif /* defined(DB_DUMP) */