summaryrefslogtreecommitdiffstats
path: root/src/dbdump.c
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-07-25 10:56:52 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-07-25 11:13:21 +0100
commit41cd0e302d6554facd6b9f7daaa78304361efaef (patch)
tree18c6361a122c7e707230d32574e94bf909822733 /src/dbdump.c
parent316817b5ad98e294a9d2498a4403e82911a75b4a (diff)
downloadlibguestfs-41cd0e302d6554facd6b9f7daaa78304361efaef.tar.gz
libguestfs-41cd0e302d6554facd6b9f7daaa78304361efaef.tar.xz
libguestfs-41cd0e302d6554facd6b9f7daaa78304361efaef.zip
Require PCRE library.
This library is widely available in distros.
Diffstat (limited to 'src/dbdump.c')
-rw-r--r--src/dbdump.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dbdump.c b/src/dbdump.c
index f9d06aa8..caf63768 100644
--- a/src/dbdump.c
+++ b/src/dbdump.c
@@ -29,9 +29,7 @@
#include <errno.h>
#include <endian.h>
-#ifdef HAVE_PCRE
#include <pcre.h>
-#endif
#ifdef HAVE_HIVEX
#include <hivex.h>
@@ -43,7 +41,7 @@
#include "guestfs.h"
#include "guestfs-internal.h"
-#if defined(HAVE_PCRE) && defined(HAVE_HIVEX) && defined(DB_DUMP)
+#if defined(HAVE_HIVEX) && defined(DB_DUMP)
static unsigned char *convert_hex_to_binary (guestfs_h *g, const char *hex, size_t hexlen, size_t *binlen_rtn);
@@ -217,4 +215,4 @@ convert_hex_to_binary (guestfs_h *g, const char *hex, size_t hexlen,
return bin;
}
-#endif /* defined(HAVE_PCRE) && defined(HAVE_HIVEX) && defined(DB_DUMP) */
+#endif /* defined(HAVE_HIVEX) && defined(DB_DUMP) */