sbm

simple bandwidth monitor
git clone git://git.2f30.org/sbm
Log | Files | Refs | LICENSE

commit 91cf9edc9c8feca16263624d69070a570f398fbf
parent 01ac84da9cc200978838291fb449752318cfee96
Author: sin <sin@2f30.org>
Date:   Tue, 16 Feb 2016 16:06:05 +0000

Include order matters on some systems

Diffstat:
Msbm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbm.c b/sbm.c @@ -15,6 +15,7 @@ */ #include <sys/socket.h> +#include <net/if.h> #ifdef __linux__ #include <linux/if_link.h> #else @@ -22,7 +23,6 @@ #include <net/if_dl.h> #include <net/route.h> #endif -#include <net/if.h> #include <err.h> #include <ifaddrs.h>