X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fuuid.c;h=3836e5215f5ab93df9181915e6fbbafed26c11bb;hb=cd3a393e43f2557bbe6aa3cdceb7ce2fafacceec;hp=2df6063984c04b09ebc6365a38144f33c61692f8;hpb=82e27678f8972d2625b466e7e7ba9daaa6395c98;p=collectd.git diff --git a/src/uuid.c b/src/uuid.c index 2df60639..3836e521 100644 --- a/src/uuid.c +++ b/src/uuid.c @@ -28,7 +28,7 @@ #include "configfile.h" #include "plugin.h" -#if HAVE_LIBHAL +#if HAVE_LIBHAL_H #include #endif @@ -100,14 +100,14 @@ uuid_get_from_dmidecode(void) if (!dmidecode) { return NULL; } - + uuid = uuid_parse_dmidecode(dmidecode); pclose(dmidecode); return uuid; } -#if HAVE_LIBHAL +#if HAVE_LIBHAL_H #define UUID_PATH "/org/freedesktop/Hal/devices/computer" #define UUID_PROPERTY "smbios.system.uuid" @@ -199,7 +199,7 @@ uuid_get_local(void) return uuid; } -#if HAVE_LIBHAL +#if HAVE_LIBHAL_H if ((uuid = uuid_get_from_hal()) != NULL) { return uuid; }