Fix libuuid usage in mkswap.
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
#include "xstrncpy.h"
#include "nls.h"
-#ifdef HAVE_UUID_UUID_H
+#ifdef HAVE_LIBUUID
#include <uuid/uuid.h>
#endif
printf("LABEL=%s, ", h->volume_name);
else
printf(_("no label, "));
-#ifdef HAVE_UUID_UUID_H
+#ifdef HAVE_LIBUUID
if (uuid) {
char uuid_string[37];
uuid_unparse(uuid, uuid_string);
char *pp;
char *opt_label = NULL;
char *uuid = NULL;
-#ifdef HAVE_UUID_UUID_H
+#ifdef HAVE_LIBUUID
uuid_t uuid_dat;
#endif
usage();
}
-#ifdef HAVE_UUID_UUID_H
+#ifdef HAVE_LIBUUID
uuid_generate(uuid_dat);
uuid = uuid_dat;
#endif