X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Ftape.c;h=f59b7ea6b3860dc3892269b4455e398f31943323;hp=debb1d28a52beb12b43f1940c7a49569d9e2f7b7;hb=a9e50e9e30ecde17e167e271060c8183bfcbf407;hpb=7c2336dde35a7b42853b6ca167d4164619e52333 diff --git a/src/tape.c b/src/tape.c index debb1d28..f59b7ea6 100644 --- a/src/tape.c +++ b/src/tape.c @@ -29,6 +29,10 @@ #error "No applicable input method." #endif +#if HAVE_KSTAT_H +#include +#endif + #define MAX_NUMTAPE 256 extern kstat_ctl_t *kc; static kstat_t *ksp[MAX_NUMTAPE];