]> git.wh0rd.org - dump.git/blobdiff - compat/lib/bylabel.c
Made dump use blkid library.
[dump.git] / compat / lib / bylabel.c
index 96fe9181d94c80541ef74da01745cad2b5937031..5a40a70e6eb5af34dfbe3d388a99904a38c80df2 100644 (file)
@@ -24,6 +24,8 @@
 #include <sys/cdefs.h>
 #include "bylabel.h"
 
+#ifndef HAVE_BLKID
+
 #define PROC_PARTITIONS "/proc/partitions"
 #define DEVLABELDIR    "/dev"
 
@@ -255,3 +257,5 @@ get_device_label(const char * spec) {
        }
        return NULL;
 }
+
+#endif /* !HAVE_BLKID */