projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac1c153
)
Avoid using sysctl on linux
author
Zebity Spring
<zebity@yahoo.com>
Sat, 9 Nov 2019 11:43:36 +0000
(22:43 +1100)
committer
Zebity Spring
<zebity@yahoo.com>
Sat, 9 Nov 2019 11:43:36 +0000
(22:43 +1100)
src/uuid.c
patch
|
blob
|
history
diff --git
a/src/uuid.c
b/src/uuid.c
index
b5ac894
..
4bd4334
100644
(file)
--- a/
src/uuid.c
+++ b/
src/uuid.c
@@
-29,7
+29,7
@@
#include "plugin.h"
#include "utils/common/common.h"
-#if defined(HAVE_SYS_SYSCTL_H) && defined(HAVE_SYSCTLBYNAME)
+#if defined(HAVE_SYS_SYSCTL_H) && defined(HAVE_SYSCTLBYNAME)
|| defined(__OpenBSD__)
/* Implies have BSD variant */
#include <sys/sysctl.h>
#endif