mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
Merge pull request #970 from jagerman/xenial-build-hack
Don't include net/if.h to help xenial
This commit is contained in:
commit
77e85ec444
@ -36,7 +36,12 @@
|
|||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(Linux)
|
||||||
|
// Once we drop xenial support we can just include net/if.h on linux
|
||||||
|
#include <linux/if.h>
|
||||||
|
#else
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined Linux
|
#if defined Linux
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user