X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=compat%2Flib%2Fbylabel.c;h=5a40a70e6eb5af34dfbe3d388a99904a38c80df2;hb=9c07a116ba53b31ac0efd178e5a737fd0584fe14;hp=7f710ed7655e7196cef4a528cb5c92a242dc48e9;hpb=cdef84caee08a2436de99fc3e6f5d8eeb3635072;p=dump.git diff --git a/compat/lib/bylabel.c b/compat/lib/bylabel.c index 7f710ed..5a40a70 100644 --- a/compat/lib/bylabel.c +++ b/compat/lib/bylabel.c @@ -13,6 +13,7 @@ #include #include +#include #include #include #include @@ -20,8 +21,11 @@ #include #include #include +#include #include "bylabel.h" +#ifndef HAVE_BLKID + #define PROC_PARTITIONS "/proc/partitions" #define DEVLABELDIR "/dev" @@ -253,3 +257,5 @@ get_device_label(const char * spec) { } return NULL; } + +#endif /* !HAVE_BLKID */