projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1565a0
)
uuid plugin: fix inclusion of libhal.h
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 24 Jul 2016 14:47:40 +0000
(16:47 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 24 Jul 2016 14:48:28 +0000
(16:48 +0200)
Follow up of
34db18b
src/uuid.c
patch
|
blob
|
history
diff --git
a/src/uuid.c
b/src/uuid.c
index
5088217
..
3836e52
100644
(file)
--- 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 <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;
}