X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fuuid.c;h=3836e5215f5ab93df9181915e6fbbafed26c11bb;hb=028a9dfa0c77ebf3c9219cf38facede3b03a1ebb;hp=50882179a5458af16008e0f61bf7b2764b2df793;hpb=8361c1e963f9184c3c4d87197fd6996d667cdb3f;p=collectd.git diff --git a/src/uuid.c b/src/uuid.c index 50882179..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 @@ -107,7 +107,7 @@ uuid_get_from_dmidecode(void) 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; }