X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fuuid.c;h=069f0432753cb201afc4f72d72e9e34a18a119c2;hb=b55658bb615f6d33e70791d2a7d2a0f2114598cc;hp=50882179a5458af16008e0f61bf7b2764b2df793;hpb=01e2d29ebc5dec07daab935da3fcee5bb9c7d620;p=collectd.git diff --git a/src/uuid.c b/src/uuid.c index 50882179..069f0432 100644 --- a/src/uuid.c +++ b/src/uuid.c @@ -24,11 +24,12 @@ **/ #include "collectd.h" + #include "common.h" #include "configfile.h" #include "plugin.h" -#if HAVE_LIBHAL +#if HAVE_LIBHAL_H #include #endif @@ -107,7 +108,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 +200,7 @@ uuid_get_local(void) return uuid; } -#if HAVE_LIBHAL +#if HAVE_LIBHAL_H if ((uuid = uuid_get_from_hal()) != NULL) { return uuid; }