X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Ftape.c;h=f59b7ea6b3860dc3892269b4455e398f31943323;hp=debb1d28a52beb12b43f1940c7a49569d9e2f7b7;hb=7111bb6df7628edce3a8e538b386fbe27633a191;hpb=1ecde57a53fc7c50e6b0139ad745b868413d420c 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];