diff options
author | Karel Zak <kzak@redhat.com> | 2009-10-27 12:11:37 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2009-10-27 12:11:37 +0100 |
commit | 1a70e0cba214868345d8fc3ee27cca2e1f972f14 (patch) | |
tree | 4faca3025e6ad47194f51be04b4e5679dbd31e5b /disk-utils | |
parent | 033cf439e382afba06b06552cba67dd42405c660 (diff) | |
download | util-linux-old-1a70e0cba214868345d8fc3ee27cca2e1f972f14.tar.gz |
build-sys: add HAVE_LIBBLKID_INTERNAL
It's better to use one macro for all situations where we depends on
in-tree (internal) libblkid.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils')
-rw-r--r-- | disk-utils/mkswap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/disk-utils/mkswap.c b/disk-utils/mkswap.c index 73cede75..1c72d07b 100644 --- a/disk-utils/mkswap.c +++ b/disk-utils/mkswap.c @@ -62,7 +62,7 @@ # endif #endif -#ifdef HAVE_BLKID_PROBE_ENABLE_PARTITIONS +#ifdef HAVE_LIBBLKID_INTERNAL # include <blkid.h> #endif @@ -407,7 +407,7 @@ zap_bootbits(int fd, const char *devname, int force) whole = 1; zap = 0; } else { -#ifdef HAVE_BLKID_PROBE_ENABLE_PARTITIONS +#ifdef HAVE_LIBBLKID_INTERNAL blkid_probe pr = blkid_new_probe(); if (!pr) die(_("unable to alloc new libblkid probe")); |