sbm

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

commit 92aa659463604338f38a8cee992624358e3776ef
parent f3daf658ad210d92562d176dcddb75fb3538dad7
Author: sin <sin@2f30.org>
Date:   Fri, 14 Oct 2016 15:00:19 +0100

Use ifndef

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

diff --git a/sbm.c b/sbm.c @@ -4,8 +4,7 @@ #include <sys/socket.h> #include <net/if.h> -#ifdef __linux__ -#else +#ifndef __linux__ #include <sys/sysctl.h> #include <net/if_dl.h> #include <net/route.h>