From: Ruben Kerkhof Date: Sun, 24 Jul 2016 14:47:40 +0000 (+0200) Subject: uuid plugin: fix inclusion of libhal.h X-Git-Tag: collectd-5.6.0~168 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d5353983686ad6f4ba156206d0bf430af09d1fad;p=collectd.git uuid plugin: fix inclusion of libhal.h Follow up of 34db18b --- 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; }