uuid plugin: fix inclusion of libhal.h
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 24 Jul 2016 14:47:40 +0000 (16:47 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 24 Jul 2016 14:48:28 +0000 (16:48 +0200)
Follow up of 34db18b

src/uuid.c

index 5088217..3836e52 100644 (file)
@@ -28,7 +28,7 @@
 #include "configfile.h"
 #include "plugin.h"
 
-#if HAVE_LIBHAL
+#if HAVE_LIBHAL_H
 #include <libhal.h>
 #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;
     }