diff options
author | Scott Tincman <sctincman@gmail.com> | 2012-11-13 20:29:55 -0500 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2012-11-15 12:31:17 +0100 |
commit | 0eeded8bc013857a5e8a2efbc20002a22502897e (patch) | |
tree | 340c1c11296923acbf2cc3b28c3299e8cb7730fb /src/print_load.c | |
parent | 2f20400d7af06d1a283bf727ce7af27f68f255f5 (diff) |
DragonFlyBSD support added
Diffstat (limited to 'src/print_load.c')
-rw-r--r-- | src/print_load.c | 2 |
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; |