applets/network: fix the build on FreeBSD
This commit is contained in:
parent
4389bc1556
commit
e33f9d5fb9
|
@ -296,7 +296,11 @@ static void _refresh_interface_flags(Network * network, NetworkInterface * ni,
|
||||||
gboolean active = TRUE;
|
gboolean active = TRUE;
|
||||||
char const * icon = "network-offline";
|
char const * icon = "network-offline";
|
||||||
#ifdef SIOCGIFDATA
|
#ifdef SIOCGIFDATA
|
||||||
|
# if defined(__NetBSD__)
|
||||||
struct ifdatareq ifdr;
|
struct ifdatareq ifdr;
|
||||||
|
# else
|
||||||
|
struct if_data ifdr;
|
||||||
|
# endif
|
||||||
# if GTK_CHECK_VERSION(2, 12, 0)
|
# if GTK_CHECK_VERSION(2, 12, 0)
|
||||||
unsigned long ibytes;
|
unsigned long ibytes;
|
||||||
unsigned long obytes;
|
unsigned long obytes;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user