fix(net): make sure WITH_LIBNL is defined before checking
This commit is contained in:
parent
01f4957485
commit
07d35df538
1 changed files with 6 additions and 6 deletions
|
@ -6,6 +6,12 @@
|
|||
#include <arpa/inet.h>
|
||||
#include <ifaddrs.h>
|
||||
|
||||
#include "common.hpp"
|
||||
#include "settings.hpp"
|
||||
#include "errors.hpp"
|
||||
#include "components/logger.hpp"
|
||||
#include "utils/math.hpp"
|
||||
|
||||
#if WITH_LIBNL
|
||||
#include <net/if.h>
|
||||
|
||||
|
@ -24,12 +30,6 @@ struct nlattr;
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#include "common.hpp"
|
||||
#include "settings.hpp"
|
||||
#include "errors.hpp"
|
||||
#include "components/logger.hpp"
|
||||
#include "utils/math.hpp"
|
||||
|
||||
POLYBAR_NS
|
||||
|
||||
class file_descriptor;
|
||||
|
|
Loading…
Reference in a new issue