From 0eeded8bc013857a5e8a2efbc20002a22502897e Mon Sep 17 00:00:00 2001 From: Scott Tincman Date: Tue, 13 Nov 2012 20:29:55 -0500 Subject: DragonFlyBSD support added --- src/print_load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/print_load.c') 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; -- cgit v1.2.3