Package: collectd / 5.7.1-1.1

myplugin_includes.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Sebastian Harl <sh@tokkee.org>
Description: Let the example plugin include the core headers from
/usr/include/collectd/core.
--- a/contrib/examples/myplugin.c
+++ b/contrib/examples/myplugin.c
@@ -38,10 +38,10 @@
 
 #endif /* ! HAVE_CONFIG */
 
-#include <collectd/collectd.h>
+#include <collectd/core/daemon/collectd.h>
 
-#include <collectd/common.h>
-#include <collectd/plugin.h>
+#include <collectd/core/daemon/common.h>
+#include <collectd/core/daemon/plugin.h>
 
 /*
  * data source definition: