Code

patches: Added postgresql_writer_memleak.dpatch.
[pkg-collectd.git] / debian / patches / myplugin_includes.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## myplugin_includes.dpatch by Sebastian Harl <sh@tokkee.org>
3 ##
4 ## DP: Let the example plugin include the core headers from
5 ## DP: /usr/include/collectd/core.
7 @DPATCH@
9 diff a/contrib/examples/myplugin.c b/contrib/examples/myplugin.c
10 --- a/contrib/examples/myplugin.c
11 +++ b/contrib/examples/myplugin.c
12 @@ -38,9 +38,9 @@
13  
14  #endif /* ! HAVE_CONFIG */
15  
16 -#include <collectd/collectd.h>
17 -#include <collectd/common.h>
18 -#include <collectd/plugin.h>
19 +#include <collectd/core/collectd.h>
20 +#include <collectd/core/common.h>
21 +#include <collectd/core/plugin.h>
22  
23  /*
24   * data source definition: