summaryrefslogtreecommitdiff
path: root/components/netspeeds.c
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2019-01-30 11:21:54 +0000
committerAaron Marcher <me@drkhsh.at>2019-02-07 12:23:01 +0100
commit83a48d82c1bb960945c0e3c9f1e221a8a0961fcc (patch)
tree1e29c67d345161218e1ffb88bc6b5338590b3dc7 /components/netspeeds.c
parent02a303d3ad80456382049a18353d5c2802081218 (diff)
Add FreeBSD support for netspeeds, entropy and ip components
Diffstat (limited to 'components/netspeeds.c')
-rw-r--r--components/netspeeds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/netspeeds.c b/components/netspeeds.c
index 02c030e..0029177 100644
--- a/components/netspeeds.c
+++ b/components/netspeeds.c
@@ -58,7 +58,7 @@
return fmt_human((txbytes - oldtxbytes) * 1000 / interval,
1024);
}
-#elif defined(__OpenBSD__)
+#elif defined(__OpenBSD__) | defined(__FreeBSD__)
#include <string.h>
#include <ifaddrs.h>
#include <sys/types.h>