summaryrefslogtreecommitdiff
path: root/src/print_load.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print_load.c')
-rw-r--r--src/print_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print_load.c b/src/print_load.c
index 7fd54ca..5281472 100644
--- a/src/print_load.c
+++ b/src/print_load.c
@@ -10,7 +10,7 @@ void print_load(yajl_gen json_gen, char *buffer, const char *format) {
char *outwalk = buffer;
/* Get load */
-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(sun)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(sun) || defined(__DragonFly__)
double loadavg[3];
const char *walk;