Code

Refreshed patches/myplugin_includes.patch.
authorSebastian Harl <sh@tokkee.org>
Sat, 24 Sep 2016 12:50:25 +0000 (14:50 +0200)
committerSebastian Harl <sh@tokkee.org>
Sat, 24 Sep 2016 12:50:25 +0000 (14:50 +0200)
debian/patches/myplugin_includes.patch

index 9b8b04d34af684fdf36077b923c119ea6402ab33..0726cdc8802ac11fd5b3ab7d386a2cd1d8c808f2 100644 (file)
@@ -3,14 +3,15 @@ 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,9 +38,9 @@
+@@ -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/collectd.h>
 +#include <collectd/core/daemon/common.h>
 +#include <collectd/core/daemon/plugin.h>