mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
frame-xchg.c: fix build with glibc < 2.24
SOL_NETLINK is used since commit87a198111a
resulting in the following build failure with glibc < 2.24: src/frame-xchg.c: In function 'frame_watch_group_io_read': src/frame-xchg.c:328:27: error: 'SOL_NETLINK' undeclared (first use in this function) if (cmsg->cmsg_level != SOL_NETLINK) ^ This failure is due to glibc that doesn't support SOL_NETLINK before version 2.24 andf9b437d5ef
Fixes: - http://autobuild.buildroot.org/results/3485088b84111c271bbcfaf025aa4103c6452072
This commit is contained in:
parent
001b9035e0
commit
c352714e61
@ -42,6 +42,10 @@
|
||||
#include "src/netdev.h"
|
||||
#include "src/frame-xchg.h"
|
||||
|
||||
#ifndef SOL_NETLINK
|
||||
#define SOL_NETLINK 270
|
||||
#endif
|
||||
|
||||
struct watch_group {
|
||||
/*
|
||||
* Group IDs, except 0, are per wdev for user's convenience.
|
||||
|
Loading…
Reference in New Issue
Block a user