Code

patches/ipvs_h_include, rules: Let the ipvs plugin use linux/ip_vs.h.
[pkg-collectd.git] / debian / patches / ipvs_h_include.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## ipvs_h_include.dpatch by Sebastian Harl <sh@tokkee.org>
3 ##
4 ## DP: Include linux/ip_vs.h.
6 @DPATCH@
8 diff a/src/ipvs.c b/src/ipvs.c
9 --- a/src/ipvs.c
10 +++ b/src/ipvs.c
11 @@ -45,6 +45,7 @@
12  #endif /* HAVE_NETINET_IN_H */
13  
14  /* this can probably only be found in the kernel sources */
15 +#include <linux/ip_vs.h>
16  #if HAVE_NET_IP_VS_H
17  # include <net/ip_vs.h>
18  #elif HAVE_IP_VS_H