Code

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 50882179a5458af16008e0f61bf7b2764b2df793..3836e5215f5ab93df9181915e6fbbafed26c11bb 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;
     }