X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=compat%2Flib%2Fbylabel.c;h=5a40a70e6eb5af34dfbe3d388a99904a38c80df2;hp=96fe9181d94c80541ef74da01745cad2b5937031;hb=c9e4e868a4f92342e883219136acc2b6a405102f;hpb=e1e4be20b0192a2988eab70a31fb1428c4c81eec 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 */