Merge pull request #970 from jagerman/xenial-build-hack

Don't include net/if.h to help xenial
pull/976/head
Jeff 5 years ago committed by GitHub
commit 77e85ec444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,7 +36,12 @@
#include <netinet/in.h>
#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>
#endif
#if defined Linux
#include <netinet/in.h>

Loading…
Cancel
Save