Code

sensors plugin: Improved the documentation in the sample configfile and the `collectd...
[collectd.git] / src / memory.c
index 01bd52722c14a2c1d2b1748cae30f5904e7e62a7..b8b7229f6de74db7f6a2161370c58f08934ff28b 100644 (file)
@@ -23,6 +23,7 @@
 #include "collectd.h"
 #include "common.h"
 #include "plugin.h"
+#include "utils_debug.h"
 
 #ifdef HAVE_SYS_SYSCTL_H
 # include <sys/sysctl.h>
@@ -40,7 +41,7 @@
 #ifdef HAVE_MACH_HOST_PRIV_H
 # include <mach/host_priv.h>
 #endif
-#ifdef MACH_VM_STATISTICS_H
+#ifdef HAVE_MACH_VM_STATISTICS_H
 # include <mach/vm_statistics.h>
 #endif