X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=compat%2Flib%2Fbylabel.c;h=5a40a70e6eb5af34dfbe3d388a99904a38c80df2;hb=9c07a116ba53b31ac0efd178e5a737fd0584fe14;hp=96fe9181d94c80541ef74da01745cad2b5937031;hpb=d1925e0c515fcb4f815d75292566d600fd715ff5;p=dump.git diff --git a/compat/lib/bylabel.c b/compat/lib/bylabel.c index 96fe918..5a40a70 100644 --- a/compat/lib/bylabel.c +++ b/compat/lib/bylabel.c @@ -24,6 +24,8 @@ #include #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 */