diff options
Diffstat (limited to 'components/netspeeds.c')
-rw-r--r-- | components/netspeeds.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/netspeeds.c b/components/netspeeds.c index 3a1817b..18aa097 100644 --- a/components/netspeeds.c +++ b/components/netspeeds.c @@ -1,9 +1,9 @@ /* See LICENSE file for copyright and license details. */ -#include <stdio.h> #include <limits.h> +#include <stdio.h> -#include "../util.h" #include "../slstatus.h" +#include "../util.h" #if defined(__linux__) #include <stdint.h> @@ -57,11 +57,11 @@ 1024); } #elif defined(__OpenBSD__) | defined(__FreeBSD__) - #include <string.h> #include <ifaddrs.h> + #include <net/if.h> + #include <string.h> #include <sys/types.h> #include <sys/socket.h> - #include <net/if.h> const char * netspeed_rx(const char *interface) |