diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2019-01-30 11:21:54 +0000 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2019-02-07 12:23:01 +0100 |
commit | 86849d295b1eb9e18746d8a4fa196fe7b9dce0dc (patch) | |
tree | 1e29c67d345161218e1ffb88bc6b5338590b3dc7 /components/ip.c | |
parent | b6d0bd2fe45283b24e3e69a61671bd3ac615a9b4 (diff) |
Add FreeBSD support for netspeeds, entropy and ip components
Diffstat (limited to 'components/ip.c')
-rw-r--r-- | components/ip.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/ip.c b/components/ip.c index a7b1bfd..70724eb 100644 --- a/components/ip.c +++ b/components/ip.c @@ -6,6 +6,9 @@ #if defined(__OpenBSD__) #include <sys/types.h> #include <sys/socket.h> +#elif defined(__FreeBSD__) + #include <netinet/in.h> + #include <sys/socket.h> #endif #include "../util.h" |