3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 02:19:26 +01:00

monitor: Define ARPHRD_NETLINK if it not provided by system headers

This commit is contained in:
Marcel Holtmann 2014-12-19 01:44:49 +01:00
parent 89d0df7d1a
commit 75ec08df73
2 changed files with 8 additions and 0 deletions

View File

@ -35,6 +35,10 @@
#include <linux/if_arp.h>
#include <ell/ell.h>
#ifndef ARPHRD_NETLINK
#define ARPHRD_NETLINK 824
#endif
#include "linux/nl80211.h"
#include "monitor/nlmon.h"
#include "monitor/pcap.h"

View File

@ -41,6 +41,10 @@
#include <linux/filter.h>
#include <ell/ell.h>
#ifndef ARPHRD_NETLINK
#define ARPHRD_NETLINK 824
#endif
#include "linux/nl80211.h"
#include "src/ie.h"
#include "src/util.h"