summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e1565a0)
raw | patch | inline | side by side (parent: e1565a0)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 24 Jul 2016 14:47:40 +0000 (16:47 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 24 Jul 2016 14:48:28 +0000 (16:48 +0200) |
src/uuid.c | patch | blob | history |
diff --git a/src/uuid.c b/src/uuid.c
index 50882179a5458af16008e0f61bf7b2764b2df793..3836e5215f5ab93df9181915e6fbbafed26c11bb 100644 (file)
--- a/src/uuid.c
+++ b/src/uuid.c
#include "configfile.h"
#include "plugin.h"
-#if HAVE_LIBHAL
+#if HAVE_LIBHAL_H
#include <libhal.h>
#endif
return uuid;
}
-#if HAVE_LIBHAL
+#if HAVE_LIBHAL_H
#define UUID_PATH "/org/freedesktop/Hal/devices/computer"
#define UUID_PROPERTY "smbios.system.uuid"
return uuid;
}
-#if HAVE_LIBHAL
+#if HAVE_LIBHAL_H
if ((uuid = uuid_get_from_hal()) != NULL) {
return uuid;
}